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

Hiding a series does not hide navigator series. #6193

Closed
rninne opened this issue Jan 2, 2017 · 2 comments
Closed

Hiding a series does not hide navigator series. #6193

rninne opened this issue Jan 2, 2017 · 2 comments

Comments

@rninne
Copy link

rninne commented Jan 2, 2017

Expected behaviour

When a series is hidden using the legend, or using setVisible() or hide() the corresponding series in the navigator (using showInNavigator) is not hidden

Actual behaviour

Linked navigator series remains. If you update the data points in the primary series, the navigator series will also update (kudos btw) but hiding the series does not hide the linked series in the navigator.

Live demo with steps to reproduce

http://jsfiddle.net/z0ag8rL8/

Affected browser(s)

all AFAIK

@oysteinmoseng
Copy link
Member

Thanks for reporting, this is actually a feature we are planning to implement.

For now, here is a workaround using events: http://jsfiddle.net/qq0dc9ah.

@rninne
Copy link
Author

rninne commented Jan 3, 2017

Sweet,

This answers another question I had about how to get a reference to the navigator series from a series. Works a charm in my original example.

http://jsfiddle.net/z0ag8rL8/1/

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

No branches or pull requests

4 participants