livewire-charts
livewire-charts copied to clipboard
Naming multicolumn not working
Naming the multicolumn isn't working since version 2.3, on 2.2 its working fine.
For example this code shows the color names fine in version 2.2 but in version 2.3 it shows the index, so 1,2,3
$chart = (new ColumnChartModel())->multiColumn();
$chart->addSeriesColumn("year 2021", "orange", 1);
$chart->addSeriesColumn("year 2021", "yellow", 1);
$chart->addSeriesColumn("year 2021", "red", 1);
$chart->addSeriesColumn("year 2022", "orange", 1);
$chart->addSeriesColumn("year 2022", "yellow", 1);
$chart->addSeriesColumn("year 2022", "red", 1);
Version 2.2:
Version 2.3:
So i'm not the only one who facing with this issue. for now, i'm rollback to version 2.2
It's not a bug bro. Just use setXAxisCategories
.