Hot to always position the tooltip on top of the point?
Is there a way to position the Highcharts tooltip always on top of the hovered point? I tried using the tooltip > positioner to fix the position, but if the point in on the edge of chart then the tooltip gets cut.
positioner: function(labelWidth, labelHeight, point) {
var tooltipX = point.plotX + 20;
var tooltipY = point.plotY - 30;
return {
x: tooltipX,
y: tooltipY
};
}
1. Without the positioner block :
2. With the positioner block :
3. Expected result in all cases :