gladmortal
Posts: 3
Joined: Tue Sep 14, 2021 3:42 am

Issue with highCharts range selector date format?

I am trying to use the rangefilter with the HighCharts. But getting improper start and end date. Seems like it is not able to recognize my date.

On x-axis, I have categorical values of unique dates. On the y-axis, I have the unique count.

My data series for y-axis is complicated and generating dynamically in the mentioned format.

Can someone please suggest me where i am going wrong ?


Here is my sample code: http://jsfiddle.net/7x3cgf48/3/
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: Issue with highCharts range selector date format?

Hello,

Thanks for contacting us with your question!

I simplify code from unnecessary code. First of all, when you using stock charts create them using Highcharts.stockChart instead of Highcharts.Chart. As for the date, you give it wrong, you must provide it in the data.

Demo: http://jsfiddle.net/BlackLabel/dwhn2y13/

rangeFilter does not work because the chart contains too little data.
Here's an example where there are more of them: http://jsfiddle.net/BlackLabel/4uaez19p/

Let me know if that was what you were looking for!
Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/

Return to “Highcharts Usage”