AlexeyCanyon
Posts: 12
Joined: Thu Jan 14, 2021 4:48 am

Default zoom in Gantt chart

Hello! Please tell me how you can increase the default zoom? In this example, I can't go to hours or minutes.
https://jsfiddle.net/AlexeyCanyon/v7052L8x/
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: Default zoom in Gantt chart

Hi,
We appreciate you reaching out to us!

Try to use xAxis.dateTimeLabelFormats to set approximation, follow documentation.

Live demo:
https://jsfiddle.net/BlackLabel/trhkjcmL/

API References:
https://api.highcharts.com/gantt/xAxis. ... belFormats

Feel free to ask if you have any questions.
Best regards.
Sebastian Hajdus
Highcharts Developer

Return to “Highcharts Gantt”