Zoom buttons should retain "on" state for as long as possible
In Highstock, when you press one of the Zoom buttons, the button visually enters an "on" state. If you then view a different part of the graph, either by dragging the graph or using the navigation scroll bar, the button turns "off". Why? The time window is still exactly the same, so the button should stay "on". The button should stay "on" until the size of the window changes.
-
Kyle Getz commented
Another thing I just noticed: if you are updating a chart dynamically via calls to addPoint() and chart.redraw(), the buttons will lose their "pressed" state after each update.
-
Kyle Getz commented
Ah, you're right, it is.
-
This last thing is fixed in 1.0.2 I think.
-
Kyle Getz commented
I've also noticed a bit of a bug with this. If you click a range button, then scroll in the navigator, the button becomes un-depressed (which is the original enhancement request I reported). However, if you try to click the same range button, it doesn't become depressed, which I would say is a bug, since it appears that your clicking isn't having an effect.
-
Yes, that makes sense. Thanks for your suggestion.