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

Closed
iweindesmedt opened this Issue Aug 19, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@iweindesmedt

iweindesmedt commented Aug 19, 2013

http://jsfiddle.net/W4EEg/12/

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)

@pawelfus

This comment has been minimized.

Show comment
Hide comment
@pawelfus

pawelfus Aug 17, 2015

Contributor

I agree, it should to work the same way as for pie chart: http://jsfiddle.net/W4EEg/24/

Contributor

pawelfus commented Aug 17, 2015

I agree, it should to work the same way as for pie chart: http://jsfiddle.net/W4EEg/24/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment