Welcome to the Highcharts JS (highcharts) 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.

tooltip.positioner

A callback function to place the tooltip in a custom position. The callback receives three parameters: labelWidth, labelHeight and point, where point contains values for plotX and plotY telling where the reference point is in the plot area. Add chart.plotLeft and chart.plotTop to get the full coordinates.

To find the actual hovered Point instance, use this.chart.hoverPoint. For shared or split tooltips, all the hover points are available in this.chart.hoverPoints.

Since v7, when tooltip.split option is enabled, positioner is called for each of the boxes separately, including xAxis header. xAxis header is not a point, instead point argument contains info: { plotX: Number, plotY: Number, isHeader: Boolean }

The return should be an object containing x and y values, for example { x: 100, y: 100 }.