laural
Posts: 1
Joined: Thu Apr 08, 2021 8:06 am

Range select for non stock chart

Hello! I'm aware that range select functionality is only available for stock charts. However, I need to be able to filter data by specific time range for a bar chart. My solution was to manually add time range buttons and create data filter functions. However, I'm wondering if there might be a better solution to add time range select functionality in non stock charts?
range-barchart.png
range-barchart.png (38.75 KiB) Viewed 175 times
pawelys
Posts: 962
Joined: Wed Sep 02, 2020 10:37 am

Re: Range select for non stock chart

Hello, welcome to the official highcharts, thanks for contacting us with your question!
Well, as you said, the range selector functionality is only for Highcharts stock. You can create the buttons, and bind them with functions, that will call the setExtremes function for the given axis. This is exactly, how rangeSelector and navigator work.
Let me know, if this works for you! Kind regards
Paweł Lysy
Highcharts Developer

Return to “Highcharts Usage”