Gabriel Candia
Gabriel Candia

Reputation: 282

Problems with range selector on highcharts (highstock)

I'm using two different charts of highstock, both of them have 2 series. Both charts are loaded in the same div depends which button is selected. To do this I set the series data when the user push the other buttons, the problem that I'm having is that in one chart I can select a minimum range of about 10 minutes, but in the other chart I can't select a range lower than one hour. Both are made with the same settings, the only different is that one have numbers with decimals and the other don't.

I want that you can select a range, change graph and keep in the other the selection. This work when the selection is bigger than 1 hour.

Hope you can help me.

Upvotes: 1

Views: 4651

Answers (1)

Sebastian Bochan
Sebastian Bochan

Reputation: 37588

You can try to use setExtremes() function which allows to define range. http://api.highcharts.com/highstock#xAxis.events.setExtremes

Upvotes: 1

Related Questions