Closed kindunq closed 4 months ago
Setting themes is global in amCharts 4, meaning that whatever themes are set at the moment of creation of a chart, they all will be applied.
If you don't want a previously set theme to be set on a chart, you can unset it: https://www.amcharts.com/docs/v4/concepts/themes/#Different_themes_to_different_charts
Setting themes is global in amCharts 4, meaning that whatever themes are set at the moment of creation of a chart, they all will be applied.
If you don't want a previously set theme to be set on a chart, you can unset it: https://www.amcharts.com/docs/v4/concepts/themes/#Different_themes_to_different_charts
omg...
thx a lot!
have a good day!
Question
We've componentized several charts in nextjs.
I have several charts on one screen, and I want to use
I applied dark theme to chart a only.
but theme is applied to all charts.
I would expect event bubbling to occur.
How can I do the chart config per component?
I only want to apply to A files...
Is my code wrong?
Environment (if applicable)
Additional context