Dominik Welte
Posts: 11
Joined: Wed Sep 28, 2022 8:51 am

How to hide series on event

Hello friends,
i have a problem with my series. If i click the button the first series gets hidden, but the second series is somehow buggy then.
Could you please help me and investigate the problem ?
We would like to display 50 series in our productive system.
When an setExtremesEvent occures, these series which are not in the range of the start and end date, shouldn't be shown in the chart.

This is only an example with two series.

https://jsfiddle.net/fmgw2z35/20/

Thanks !

Best regards
Dominik
kamil.m
Posts: 892
Joined: Thu May 19, 2022 1:33 pm

Re: How to hide series on event

Hello Dominik,

Thank you for contacting us!

After a small investigation, it turns out that it actually might be a bug. The same issue can be reproduced with legend.enabled: true, and with our demos, so your function is not a problem. A partial workaround for now would be to set collapse to false, on all of your data points.

Please report it on our GitHub issues page, so that our GitHub team can take a look at the issue. https://github.com/highcharts/highcharts/issues

Sorry for the inconvenience,
Best regards!
Kamil Musiałowski
Highcharts Developer

Return to “Highcharts Gantt”