Welcome to theHighcharts JSOptions Reference

These pages outline the chart configuration options, and the methods and properties of Highcharts objects.

Feel free to search thisAPIthrough the search bar or the navigation tree in the sidebar.

colorAxis

A color axis for choropleth maps and heat maps. Visually, the color axis will appear as a gradient or as separate items inside the legend, depending on whether the axis is scalar or based on data classes.

For supported color formats, see thedocs article about colors.

A scalar color axis is represented by a gradient. The colors either range between theminColorand themaxColor, or for more fine grained control the colors can be defined instops. Often times, the color axis needs to be adjusted to get the right color spread for the data. In addition to stops, consider using a logarithmicaxis type, or settingminandmaxto avoid the colors being determined by outliers.

WhendataClassesare used, the ranges are subdivided into separate classes like categories based on their values. This can be used for ranges between two values, but also for a true category. However, when your data is categorized, it may be as convenient to add each category to a separate series.

Seethe Axis objectfor programmatic access to the axis.