Welcome to the Highcharts Gantt JS (gantt) Options Reference

These pages outline the chart configuration options, and the methods and properties of Highcharts objects.

Feel free to search this API through the search bar or the navigation tree in the sidebar.


For a datetime axis, the scale will automatically adjust to the appropriate unit. This member gives the default string representations used for each unit. For intermediate values, different units may be used, for example the day unit can be used on midnight and hour unit be used for intermediate values on the same axis.

For an overview of the replacement codes, see dateFormat.

Defaults to:

    millisecond: '%H:%M:%S.%L',
    second: '%H:%M:%S',
    minute: '%H:%M',
    hour: '%H:%M',
    day: '%e. %b',
    week: '%e. %b',
    month: '%b \'%y',
    year: '%Y'

For grid axes (like in Gantt charts), it is possible to declare as a list to provide different formats depending on available space.

Defaults to:

    hour: { list: ['%H:%M', '%H'] },
    day: { list: ['%A, %e. %B', '%a, %e. %b', '%E'] },
    week: { list: ['Week %W', 'W%W'] },
    month: { list: ['%B', '%b', '%o'] }