A Simple Dashboard Chart in Laravel Nova using Chart JS. Starting create your own dashboard with Chart JS Integration can save your time and help you maintain consistency across standard elements such as Bar, Stacked, Line, Area, Doughnut and Pie Chart.
I'm using the documentation example for a new stacked() chart as the documentation example and it doesn't work. I tried with other graphics and none of them work, without mentioning that although it says that it has support for Laravel nova 4.0, I have noticed several problems with the styles, such as the size of the cards, occupying 2 rows does not work or adjusting to the content or the button refresh that goes out of the card, the example from the documentation I'm following is:
->options([
'btnFilter' => true,
'btnFilterDefault' => 'YTD',
'btnFilterList' => [
'YTD' => 'Year to Date',
'QTD' => 'Quarter to Date',
'MTD' => 'Month to Date',
'30' => '30 Days', // numeric key will be set to days
'28' => '28 Days', // numeric key will be set to days
],
I'm using the documentation example for a new stacked() chart as the documentation example and it doesn't work. I tried with other graphics and none of them work, without mentioning that although it says that it has support for Laravel nova 4.0, I have noticed several problems with the styles, such as the size of the cards, occupying 2 rows does not work or adjusting to the content or the button refresh that goes out of the card, the example from the documentation I'm following is:
this not show nothing on the card.