Make highcharts display the tooltip of the previous point

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-13 00:17:23

问题


Is there a way in Highcharts to cause the tooltip to be displayed not by the closest point to the mouse but always by the point to the left?
e.g in the picture below, I want that if the mouse is hovering the red area the tooltip that would be displayed is the tooltip of the point above May:

Thanks :)


回答1:


You can use tooltip Positioner which allows you to define your own positioning function.



来源:https://stackoverflow.com/questions/18384619/make-highcharts-display-the-tooltip-of-the-previous-point

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!