goothipavankumar
Posts: 6
Joined: Fri May 28, 2021 6:10 am

Highstock Navigation similar to data range

Hi,

I would to have navigator showing the range selected only for the datetime range selected.
Suppose if I select the date from year 2021 then the navigator should show only from year 2021 and not from previous year.

https://www.highcharts.com/demo/stock/stock-tools-gui
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: Highstock Navigation similar to data range

Hi,
Welcome to our forum and thanks for contacting us with your question!

I think you can use rangeSelector.buttons and them chose with range are you interest (day, week, month) setting rangeSelector.selected options to number from 0 to 2.

Example of use:
https://jsfiddle.net/gh/get/library/pur ... agrouping/

API References:
https://api.highcharts.com/highstock/ra ... or.buttons
https://api.highcharts.com/highstock/ra ... r.selected

Let me know how are you going with this solution.
Best regards.
Sebastian Hajdus
Highcharts Developer

Return to “Highcharts Stock”