removed legend from reports
This commit is contained in:
parent
3d565bd9b8
commit
ca5f621dee
@ -47,6 +47,9 @@ abstract class Report
|
|||||||
'height' => '300',
|
'height' => '300',
|
||||||
'options' => [
|
'options' => [
|
||||||
'color' => '#6da252',
|
'color' => '#6da252',
|
||||||
|
'legend' => [
|
||||||
|
'display' => false,
|
||||||
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'dates' => [],
|
'dates' => [],
|
||||||
|
@ -19,6 +19,9 @@ class ExpenseSummary extends Report
|
|||||||
'height' => '300',
|
'height' => '300',
|
||||||
'options' => [
|
'options' => [
|
||||||
'color' => '#ef3232',
|
'color' => '#ef3232',
|
||||||
|
'legend' => [
|
||||||
|
'display' => false,
|
||||||
|
],
|
||||||
],
|
],
|
||||||
'backgroundColor' => '#ef3232',
|
'backgroundColor' => '#ef3232',
|
||||||
'color' => '#ef3232',
|
'color' => '#ef3232',
|
||||||
|
@ -19,6 +19,9 @@ class IncomeSummary extends Report
|
|||||||
'height' => '300',
|
'height' => '300',
|
||||||
'options' => [
|
'options' => [
|
||||||
'color' => '#328aef',
|
'color' => '#328aef',
|
||||||
|
'legend' => [
|
||||||
|
'display' => false,
|
||||||
|
],
|
||||||
],
|
],
|
||||||
'backgroundColor' => '#328aef',
|
'backgroundColor' => '#328aef',
|
||||||
'color' => '#328aef',
|
'color' => '#328aef',
|
||||||
|
@ -82,10 +82,10 @@ trait Charts
|
|||||||
],
|
],
|
||||||
'scales' => [
|
'scales' => [
|
||||||
'yAxes' => [
|
'yAxes' => [
|
||||||
'display' => 0,
|
'display' => false,
|
||||||
],
|
],
|
||||||
'xAxes' => [
|
'xAxes' => [
|
||||||
'display' => 0,
|
'display' => false,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
@php $chart = $class->getChart(); @endphp
|
@php $chart = $class->getChart(); @endphp
|
||||||
|
|
||||||
<div id="report-chart" class="card-body pt-0">
|
<div id="report-chart" class="card-body">
|
||||||
{!! $chart->container() !!}
|
{!! $chart->container() !!}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<div class="card">
|
<div class="card">
|
||||||
@include('partials.widgets.standard_header')
|
@include('partials.widgets.standard_header')
|
||||||
|
|
||||||
<div class="card-body pt-0" id="cashflow">
|
<div class="card-body" id="cashflow">
|
||||||
<div class="chart">
|
<div class="chart">
|
||||||
{!! $chart->container() !!}
|
{!! $chart->container() !!}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user