# 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.

# legend.labelFormatter

Callback function to format each of the series' labels. The `this` keyword refers to the series object, or the point object in case of pie charts. By default the series or point name is printed. Since v12.5.0, the callback also receives `ctx` as the first argument, so that arrow functions can access the same context as regular functions using `this`.