javascript - HighCharts: Getting rid of tooltip but mantain crosshairs - Stack Overflow

I'm using HighCharts, and I would like to use the crosshairs from the tooltip to help the user to

I'm using HighCharts, and I would like to use the crosshairs from the tooltip to help the user to hover a particular point. When the point is hovered I would like to show the information of that point in another div (that is done), but I would like to prevent the tooltip box to appears. Here is the "working" code: / . As you can see, I did a display:none in the tooltip, but there is a "circle" that is still there.

Appreciate any help :)

I'm using HighCharts, and I would like to use the crosshairs from the tooltip to help the user to hover a particular point. When the point is hovered I would like to show the information of that point in another div (that is done), but I would like to prevent the tooltip box to appears. Here is the "working" code: http://jsfiddle/Mw8WB/266/ . As you can see, I did a display:none in the tooltip, but there is a "circle" that is still there.

Appreciate any help :)

Share Improve this question asked Apr 9, 2011 at 16:22 NobitaNobita 23.7k11 gold badges63 silver badges87 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 5

One of the tooltip options is formatter. It is a callback function to format the text of the tooltip. You can disable the tooltip by returning false from this function.

You can see the example here

http://jsfiddle/76LwZ/

and the documentation here

http://www.highcharts./ref/#tooltip

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745329003a4622790.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信