Fixed: Charts label formatting..
This commit is contained in:
@ -5,13 +5,14 @@ namespace App\Widgets;
|
||||
use Akaunting\Apexcharts\Chart;
|
||||
use App\Abstracts\Widget;
|
||||
use App\Models\Banking\Transaction;
|
||||
use App\Traits\Charts;
|
||||
use App\Traits\Currencies;
|
||||
use App\Traits\DateTime;
|
||||
use App\Utilities\Date;
|
||||
|
||||
class CashFlow extends Widget
|
||||
{
|
||||
use Currencies, DateTime;
|
||||
use Charts, Currencies, DateTime;
|
||||
|
||||
public $default_name = 'widgets.cash_flow';
|
||||
|
||||
@ -53,6 +54,11 @@ class CashFlow extends Widget
|
||||
'legend' => [
|
||||
'position' => 'top',
|
||||
],
|
||||
'yaxis' => [
|
||||
'labels' => [
|
||||
'formatter' => $this->getFormatLabel('percent'),
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
$chart = new Chart();
|
||||
|
Reference in New Issue
Block a user