araju540
Posts: 5
Joined: Wed May 26, 2021 12:38 pm

rangeSelector not working, when i select any option, empty graph showing even series has data within the range

Hello,
I am just trying to create agraph which has rangeSelector 7d,15d,30d...All
when i select 7d graph showing empty even the series has data below is the sample link for area type

https://jsfiddle.net/a4urbczw/2/
dominik.c
Posts: 2081
Joined: Fri Aug 07, 2020 7:07 am

Re: rangeSelector not working, when i select any option, empty graph showing even series has data within the range

Hello araju540!

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

In the console, there was a warning because your data wasn't sorted. That's the cause why it was not shown properly after clicking the buttons. When you sort it, it works fine. :)

Demo:
https://jsfiddle.net/BlackLabel/po8w6cz1/

Best regards!
Dominik Chudy
Highcharts Developer
araju540
Posts: 5
Joined: Wed May 26, 2021 12:38 pm

Re: rangeSelector not working, when i select any option, empty graph showing even series has data within the range

Hi dominik.c,

Thank you for quick response, its working now
dominik.c
Posts: 2081
Joined: Fri Aug 07, 2020 7:07 am

Re: rangeSelector not working, when i select any option, empty graph showing even series has data within the range

You're welcome!

In case of any further questions, feel free to contact us again.
Dominik Chudy
Highcharts Developer

Return to “Highcharts Stock”