Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

legend.labelFormatter should be called when series's visibility changes #2165

iweindesmedt opened this issue Aug 19, 2013 · 1 comment


Copy link

@iweindesmedt iweindesmedt commented Aug 19, 2013

Toggle the series in the legend to see what I mean. The user maybe wants to change the color of the serie's name in the legend when toggled. This could be achieved if the labelFormatter is called when the serie toggles. That way, depending on the current serie's state (e.g. this.visible), an other string can be returned.

(itemHiddenStyle does not work in this case)

Copy link

@pawelfus pawelfus commented Aug 17, 2015

I agree, it should to work the same way as for pie chart:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants