Highcharts:仅提供一个系列的工具提示 [英] Highcharts: Tooltip on a single series only

查看:100
本文介绍了Highcharts:仅提供一个系列的工具提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的系列中有3个数据集(低,正常,高)显示在散点图上。
如何强制只为普通数据集启用工具提示和标记?

非常感谢

解决方案

格式化程序:函数

回调函数来格式化工具提示的文本。 返回false以禁用系列中的特定点的工具提示。



参考:


I have 3 datasets within my series (low, normal, high) displaying on a scatter plot. How can I force the tooltip and markers to be enabled only for the normal data set?

Many thanks

解决方案

formatter: Function
Callback function to format the text of the tooltip. Return false to disable tooltip for a specific point on series.

Reference:

这篇关于Highcharts:仅提供一个系列的工具提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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