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

# legend

The legend is a box containing a symbol and name for each series item or point item in the chart. Each series (or points in case of pie charts) is represented by a symbol and its name in the legend.

It is possible to override the symbol creator function and create custom legend symbols.

A Highmaps legend by default contains one legend item per series, but if a `colorAxis` is defined, the axis will be displayed in the legend. Either as a gradient, or as multiple legend items for `dataClasses`.