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.

series.gantt.data.dependency.type

Set the default pathfinder algorithm to use for this chart. It is possible to define your own algorithms by adding them to the Highcharts.Pathfinder.prototype.algorithms object before the chart has been created.

The default algorithms are as follows:

straight: Draws a straight line between the connecting points. Does not avoid other points when drawing.

simpleConnect: Finds a path between the points using right angles only. Takes only starting/ending points into account, and will not avoid other points.

fastAvoid: Finds a path between the points using right angles only. Will attempt to avoid other points, but its focus is performance over accuracy. Works well with less dense datasets.

Default value: straight is used as default for most series types, while simpleConnect is used as default for Gantt series, to show dependencies between points.