API REFERENCE

ganttCrosshairTimeUnit

Gantt crosshair time badge precision; default hour. Uses ganttTimeAxis.utc.

Definition

ItemValue
JavaScript propertyganttCrosshairTimeUnit
HTML attributegantt-crosshair-time-unit
TypeGanttCrosshairTimeUnit
Default'hour'
Allowed valuesyear, month, week, day, hour, minute, second

Configuration example

javascript
chart.ganttCrosshairTimeUnit = 'hour';