Chartjs-How to configure Chartjs Bar Stacked Chart in Laravel 8

0๐Ÿ‘

โœ…

$chartOptions = [
    'scales' => [
        'yAxes' => [
            
                'stacked' => true,
            ],
            'xAxes' => 
                [
                    'stacked' => true,
                ],
        ],
    
];


 $chart->labels($resultados1);
 $chart->options($chartOptions);

Leave a comment