gambrose
Posts: 1
Joined: Tue Oct 23, 2018 8:23 am

Heatmap tickmark placement

I am having trouble getting the tickmark aligned to datetime axis.
The sample http://jsfiddle.net/gh/get/library/pure ... o/heatmap/ has the same behaviour I am seeing where the tick mark for time 0:00 is not at 0:00 but halfway though the hour.
heatmap tick placement.png
heatmap tick placement.png (11.7 KiB) Viewed 446 times
I have tryied setting tickmarkPlacement to between but it does have any effect.

How can I align the tickmark to align with the start of the x axis?
rafalS
Posts: 2665
Joined: Thu Jun 14, 2018 11:40 am

Re: Heatmap tickmark placement

Hi, gambrose!

The ticks are positioned as expected in the demo you've sent me.
Changing tick's position the way you want is really hard and will cause more troubles in the future. But if you really want this, it will be much simpler to edit your data (offset it 0.5 to the right) and remove yAxis.min property like in this example: http://jsfiddle.net/BlackLabel/u1g4x2k7/

Kind regards
Rafal Sebestjanski,
Highcharts Team Lead
User avatar
dawid.d
Posts: 837
Joined: Thu Oct 06, 2022 11:31 am

Re: Heatmap tickmark placement

Hi irenn123,

Thanks for contacting us!

Yes, it can be used, but in the case of the problem above, it couldn't be done this way because the chart has its axes reversed.

Regards
Dawid Draguła
Highcharts Developer

Return to “Highcharts Usage”