react-apexcharts
react-apexcharts copied to clipboard
Can't change colors for treemap
Has anyone managed to change colors for treemap? I've tried to set that every way I can think of but I always get the same blue rectangles.
Has anyone managed to change colors for treemap? I've tried to set that every way I can think of but I always get the same blue rectangles.
Set distributed: true
in plotOptions
.
<ReactApexChart options={{ plotOptions: { treemap: { distributed: true, }, }, chart: { ...
I think this issue can be closed. Docs are pretty clear in how to do this: https://apexcharts.com/angular-chart-demos/treemap-charts/distributed/