added formatlabel relating chart pages

This commit is contained in:
Burak Civan 2022-06-24 16:39:43 +03:00
parent ad03af63cb
commit 320446b665
2 changed files with 7 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class CashFlow extends Widget
], ],
'yaxis' => [ 'yaxis' => [
'labels' => [ 'labels' => [
'formatter' => $this->getFormatLabel('percent'), 'formatter' => $this->getFormatLabel(),
], ],
], ],
]; ];

View File

@ -48,6 +48,12 @@ class ProfitLoss extends Widget
'radius' => '12', 'radius' => '12',
], ],
], ],
'yaxis' => [
'labels' => [
'formatter' => $this->getFormatLabel(),
],
],
]; ];
$chart->setType('bar') $chart->setType('bar')