You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to add a feature to a legend containing groups of series, to enable/disable all series from the group, when clicking on the group name?
It would be a similar feature to enabling/disabling single series, by clicking on their name in the legend.
Or is at least possible to catch the click event on the group name?
The text was updated successfully, but these errors were encountered:
I think that the Legend.Rendering.cs could be extended with something like a SeriesGroupPosMap, similar to the SeriesPosMap. This would allow in the LegendHitTest method the identification the group name that was clicked. Additionally, a custom callback could be supported in the LegendHitTest, to allow the application to add its own logic for handling the click event on a series or group from the legend box.
The legend hit-testing will probably need re-designing at some point (it isn't very extensible at the moment, as you say), but your proposal of a SeriesGroupPosMap (maybe SeriesGroupTitlePosMap) could be done very simply for the moment.
Feature description
Is it possible to add a feature to a legend containing groups of series, to enable/disable all series from the group, when clicking on the group name?
It would be a similar feature to enabling/disabling single series, by clicking on their name in the legend.
Or is at least possible to catch the click event on the group name?
The text was updated successfully, but these errors were encountered: