JS API Reference

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.

connectors.algorithmMargin

Set the default pathfinder margin to use, in pixels. Some Pathfinder algorithms attempt to avoid obstacles, such as other points in the chart. These algorithms use this margin to determine how close lines can be to an obstacle. The default is to compute this automatically from the size of the obstacles in the chart.

To draw connecting lines close to existing points, set this to a low number. For more space around existing points, set this number higher.