0
I’m having a problem, where the chart tooltip is always getting below the Xaxis label.
I would like the tooltip to be above the label.
0
I’m having a problem, where the chart tooltip is always getting below the Xaxis label.
I would like the tooltip to be above the label.
0
It depends a lot on what you want to do with the tooltip.
You might want to tooltip follow the mouse, for example:
tooltip: {
followPointer: true,
pointFormat: '<span style="color:{series.color}">{series.name}</span>: <b>{point.y}</b> ({point.percentage:.0f}%)<br/>'
}
I saw you were already using shared
, which allows any area of the graph to capture the tooltip through the movement of mouse.
You can use positioner to define the static/fixed position where the tooltip will stay:
tooltip: {
positioner: function () {
return { x: 80, y: 50 };
}
}
Browser other questions tagged javascript css highcharts
You are not signed in. Login or sign up in order to post.