diff --git a/app/Widgets/CashFlow.php b/app/Widgets/CashFlow.php index 7ed298ddb..b9054ad1e 100644 --- a/app/Widgets/CashFlow.php +++ b/app/Widgets/CashFlow.php @@ -56,7 +56,7 @@ class CashFlow extends Widget ], 'yaxis' => [ 'labels' => [ - 'formatter' => $this->getFormatLabel('percent'), + 'formatter' => $this->getFormatLabel(), ], ], ]; diff --git a/app/Widgets/ProfitLoss.php b/app/Widgets/ProfitLoss.php index 3477cf301..24edd3a08 100644 --- a/app/Widgets/ProfitLoss.php +++ b/app/Widgets/ProfitLoss.php @@ -48,6 +48,12 @@ class ProfitLoss extends Widget 'radius' => '12', ], ], + + 'yaxis' => [ + 'labels' => [ + 'formatter' => $this->getFormatLabel(), + ], + ], ]; $chart->setType('bar')