Hello,
I understand that clicking on the legend of the chart data can set the visibility of the data in the chart. I'd like to try to make this clearer to the user by updating the legend shape to something else when it is toggled on / off. So for example, I have two data sources, When they are both visible, the legend and chart would look like this:
If I were to click on the legend of one of the data sources to toggle one of them to set the visibility off, it would look like this:
I'm essentially trying to change the legend shape depending on if the data is visible or not, which would require a callback placed on the chart series. Is there a solution for this?
Thank you,
John