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.

xAxis.crosshair

Configure a crosshair that follows either the mouse pointer or the hovered point.

In styled mode, the crosshairs are styled in the .highcharts-crosshair, .highcharts-crosshair-thin or .highcharts-xaxis-category classes.

In Highstock, by default, the crosshair is enabled on the X axis and disabled on the Y axis.