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

Why does Highcharts show an empty tick when data grouping?

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?
User avatar
dawid.d
Posts: 755
Joined: Thu Oct 06, 2022 11:31 am

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

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!
Dawid Draguła
Highcharts Developer
aadu
Posts: 30
Joined: Fri Sep 30, 2022 2:18 pm

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

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/
User avatar
dawid.d
Posts: 755
Joined: Thu Oct 06, 2022 11:31 am

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

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.
Dawid Draguła
Highcharts Developer

Return to “Highcharts Stock”