Highcharts - manually trigger hover event on a point

前端 未结 4 1820
醉话见心
醉话见心 2020-12-13 21:06

When you hover over a point in a Highcharts chart, you get a nice enlarged circle under you cursor (or other symbol). What I would like to do manually trigger that hover eff

4条回答
  •  爱一瞬间的悲伤
    2020-12-13 21:16

    Just to add an important information:

    For StockChart this solution doesn't work:

    In this example you have to replace this:

    chart.tooltip.refresh(chart.series[0].data[i]);
    

    to this:

    chart.tooltip.refresh([chart.series[0].points[i]]);
    

    One possible solution is available here.

提交回复
热议问题