aadu
Posts: 30
Joined: Fri Sep 30, 2022 2:18 pm

Why does Highcharts show an empty tick when data grouping?

Thu Aug 10, 2023 2:56 pm

Whenever I use a 'datetime' axis and data grouping as ['month', [1]], I always seems to end up with an extra space on the right side of the chart, where no data should exist.
You can see an example here:
Image
There is no data points for March, so why is it showing it at all?

dawid.d
Posts: 706
Joined: Thu Oct 06, 2022 11:31 am

Re: Why does Highcharts show an empty tick when data grouping?

Fri Aug 11, 2023 6:58 am

Hello,

Thanks for contacting us with your question!

I tried to reproduce your issue, but I don't quite understand what you mean by data grouping in Highcharts Core. Could you send a demo (e.g. in JSFiddle) so that I can identify the source of the problem?

In the demo below is my reproduction of the problem where I didn't notice a similar failure.
Demo: https://jsfiddle.net/BlackLabel/p1q80fr7/

I'm waiting for your reply
Best regards!

aadu
Posts: 30
Joined: Fri Sep 30, 2022 2:18 pm

Re: Why does Highcharts show an empty tick when data grouping?

Fri Aug 11, 2023 7:47 am

dawid.d wrote:
Fri Aug 11, 2023 6:58 am
Hello,
Thanks for contacting us with your question!
I tried to reproduce your issue, but I don't quite understand what you mean by data grouping in Highcharts Core. Could you send a demo (e.g. in JSFiddle) so that I can identify the source of the problem?
In the demo below is my reproduction of the problem where I didn't notice a similar failure.
Demo: https://jsfiddle.net/BlackLabel/p1q80fr7/
I'm waiting for your reply
Best regards!
Hi, the issue is with Highstock as that seems to be the only option to perform data grouping.
Here is a Fiddle demonstrating the issue: https://jsfiddle.net/aaduane/kopychuw/15/

dawid.d
Posts: 706
Joined: Thu Oct 06, 2022 11:31 am

Re: Why does Highcharts show an empty tick when data grouping?

Fri Aug 11, 2023 9:00 am

Thanks!

Ok, so it looks like a Highstock issue. I see it was reported already in our GitHub here: https://github.com/highcharts/highcharts/issues/17809

You can ask there for any updates & prioritization.


Return to “Highcharts Stock”