在StockChart(高图)中以编程方式显示柱形图的工具提示 [英] Show tooltip of a column chart programmatically in StockChart (highchart)

查看:103
本文介绍了在StockChart(高图)中以编程方式显示柱形图的工具提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 Highstock 图表(带有标记和阴影的线条),并且想要以编程方式显示highstock工具提示,例如,当我选择某个表格上的一行时数据),我想显示相应的highstock工具提示。



是否有可能?

解决方案

对于StockChart 此解决方案 doesn' t work:

这个例子中,您有以取代此:

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




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

解决方案可用 here


I've a Highstock chart (Line with markers and shadow) and would like to show a highstock tooltip programmatically, i.e. when i select, for example, a row on some table (that contains chart data) i would like to show the corresponding highstock tooltip.

Is that possible?

解决方案

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]]);

The solution is available here.

这篇关于在StockChart(高图)中以编程方式显示柱形图的工具提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆