Hal9000
Posts: 6
Joined: Tue May 24, 2011 12:03 pm

Problem: Zoom buttons get sticky if there is not enough data

I'm having a small problem with the zoom buttons. If there is not that much data for the graph, e.g. for example only for the past 3 days, clicking on 1Y or 1M makes the buttons remain pushed and highstock behaves strangely.
So my question is: is this some sort of bug? If not, is there a way I can disable those buttons depending on how much data I get from the ajax source? I know the buttons can be defined in the settings, but couldn't find out how to change the button set once the chart is loaded and it gets the data...
Fusher
Posts: 7912
Joined: Mon Jan 30, 2012 10:16 am

Re: Problem: Zoom buttons get sticky if there is not enough

I think it's similar issue, and this should be also already resolved (will be placed in next release) : https://github.com/highslide-software/h ... issues/851
Paweł Fus
Highcharts Developer
hfrntt
Posts: 6393
Joined: Mon Aug 30, 2010 8:41 am
Contact: Website

Re: Problem: Zoom buttons get sticky if there is not enough

Looks like it's already fixed in the github master version, see: http://jsfiddle.net/8KWHt/
Slawek Kolodziej
Highcharts support team

Return to “Highcharts Stock”