removed legend from reports

This commit is contained in:
denisdulici
2020-01-02 15:36:27 +03:00
parent 3d565bd9b8
commit ca5f621dee
6 changed files with 13 additions and 4 deletions

View File

@@ -47,6 +47,9 @@ abstract class Report
'height' => '300',
'options' => [
'color' => '#6da252',
'legend' => [
'display' => false,
],
],
],
'dates' => [],

View File

@@ -19,6 +19,9 @@ class ExpenseSummary extends Report
'height' => '300',
'options' => [
'color' => '#ef3232',
'legend' => [
'display' => false,
],
],
'backgroundColor' => '#ef3232',
'color' => '#ef3232',

View File

@@ -19,6 +19,9 @@ class IncomeSummary extends Report
'height' => '300',
'options' => [
'color' => '#328aef',
'legend' => [
'display' => false,
],
],
'backgroundColor' => '#328aef',
'color' => '#328aef',

View File

@@ -82,10 +82,10 @@ trait Charts
],
'scales' => [
'yAxes' => [
'display' => 0,
'display' => false,
],
'xAxes' => [
'display' => 0,
'display' => false,
],
],
];