DidierT
Posts: 1
Joined: Thu Oct 27, 2022 9:54 am

X Axis tooltip with datetime minutes interval is wrong

Hi,

The tooltip indicating the time interval proposes the following rather than the one wanted (See Attachment) :
60253_01.jpg
60253_01.jpg (165.88 KiB) Viewed 241 times
The value corresponds to the previous 10 minute interval and it should display 17:10-17:19...

A solution could be to shift all time values in the data, so it would be here :
- Timestamp : 1666710600000
- Datetime : Tuesday 25 October 2022 17:10:00

Is there nevertheless no possible action to act only on the tooltip because it is a purely visual problem finally!

Thanks in advance.

Cordially.
kamil.m
Posts: 892
Joined: Thu May 19, 2022 1:33 pm

Re: X Axis tooltip with datetime minutes interval is wrong

Hello there!

Welcome to our forum and thank you for contacting us with your question.

It is hard to tell what is exactly causing this issue without seeing the code and the data, but I might have some suggestions.
I would suggest to check the dataGrouping option. Please disable it, and see if that fixes the problem.
https://api.highcharts.com/highstock/se ... ng.enabled

If you would like to manipulate just the tooltip, then you can do it in tooltip.formatter.
https://api.highcharts.com/highcharts/tooltip.formatter


Let me know if you have managed to fix it,
Best regards!
Kamil Musiałowski
Highcharts Developer

Return to “Highcharts Stock”