# JS API Reference

# Welcome to the Highcharts JS 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.

# colorAxis.dataClasses.name

The name of the data class as it appears in the legend. If no name is given, it is automatically created based on the `from` and `to` values. For full programmatic control, legend.labelFormatter can be used. In the formatter, `this.from` and `this.to` can be accessed.