I want a legend to appear in my sunburst chart (to be able to hide data on click).
Here is an official example of a sunburst chart: https://playground.anychart.com/gallery/Sunburst_Charts/Employee_Count_by_Country
I tried to add:
chart.legend().enabled(true);
But I do not see any legend nor any error messages in the console. The website says:
In AnyChart, the legend can be used with Basic Charts, Stock Charts, Maps, and every other chart type.
So i expected the legend to show up, but it doesn't.