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.

plotOptions.series.dataLabels.backgroundColor

The background color or gradient for the data label. In addition to regular colors, there are two special setting for this option:

  • auto will set the background color the point's color.
  • contrast will set it to a contrast against the text color, with an opacity allowing to see the underlying content. The contrast is great enough to ensure readability for the text according to accessibility standards.