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

Multiple xAxis disappear on zoom and reset zoom #3716

Closed
egig opened this issue Jan 9, 2015 · 2 comments
Closed

Multiple xAxis disappear on zoom and reset zoom #3716

egig opened this issue Jan 9, 2015 · 2 comments
Labels
Status: Stale This issue hasn't had any activity for a while, and will be auto-closed if no further updates occur. Type: Undecided

Comments

@egig
Copy link

egig commented Jan 9, 2015

http://jsfiddle.net/hz0xkkr1/1

I need to create grouped xAxis label like described on my question: http://stackoverflow.com/questions/27857297/highcharts-custom-xaxis-label (if someone know the solution that would be great, I really apreciate that, but its not what I want to report now). Then probably I will just use what I created on the fiddle, but the second line is disapper when I zoom and reset zoom.

@egig egig changed the title Multiple xAxis disappear on reset zoom Multiple xAxis disappear on zoom and reset zoom Jan 9, 2015
@pawelfus
Copy link
Contributor

pawelfus commented Jan 9, 2015

I think linkedTo option is what you rather should use. I guess that after zooming in/out chart checks out second xAxis for extremes, and finds out that none of series is connected to that axis (and no points to be displayed), so simply hide labels. So either use linkedTo option (http://jsfiddle.net/hz0xkkr1/3/) or just use afterSetExtremes and set new extremes for the second axis.

Of course, grouped-categories plugin seems to cover your requirements.

@stale
Copy link

stale bot commented May 16, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

@stale stale bot added the Status: Stale This issue hasn't had any activity for a while, and will be auto-closed if no further updates occur. label May 16, 2019
@stale stale bot closed this as completed May 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Stale This issue hasn't had any activity for a while, and will be auto-closed if no further updates occur. Type: Undecided
Projects
None yet
Development

No branches or pull requests

3 participants