confusedDude
Posts: 21
Joined: Wed Jul 27, 2022 9:31 am

Avvoid automatic setExtremes when clicking collapsed point.

Hey. I have tasks under 3 different categories. Tasks are put in those categories by the parent id of the categories. When i laucnh the chart the i have enetered the setExtremes manually. But when i click the lables they automatically redraws the chart and the setextremes are set to the first point to the last point of time. Is there a way to disable this auto setExtremes when clicking parent labels?
kamil.m
Posts: 892
Joined: Thu May 19, 2022 1:33 pm

Re: Avvoid automatic setExtremes when clicking collapsed point.

Hi there,

Thank you for contacting us with that question.

I have tried to reproduce your issue but in my case, everything is working correctly. Could you please reproduce your issue in JSFiddle? I need to see how you set the extremes in your chart.

In the meantime, please take a look at the demo that I've prepared for you, where yAxis.extremes are set on the chart.load event.
DEMO: https://jsfiddle.net/BlackLabel/ynog1f6m/

Waiting for your reply,
Best regards!
Kamil Musiałowski
Highcharts Developer

Return to “Highcharts Gantt”