禁用一行的线图工具提示
我正在创建一个带有多行的线图。我正在尝试禁用在其中一条线上弹出的工具提示。是否可以禁用其中一条线的工具顶部,但不是全部?
I am creating a line chart with multiple lines. I am trying to disable the tooltip that pops up over one of the lines. Is it possible to disable the tool top for one of the lines, but not all of them?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这可以通过将Pointradius和Pointhitradius设置为0来完成。
数据集:[{data:[...],Pointradius:0,Pointhitradius:0}]
>This can be done by setting pointRadius and pointHitRadius to 0.
datasets:[{ data:[...], pointRadius: 0, pointHitRadius:0 }]
为了禁用特定意甲 /行的工具提示,您可以使用以下属性:
例如,禁用“ Serie 2”的工具提示:
To disable the tooltip for a specific serie / line you can use the follow property:
E.g. to disable the tooltip of the "Serie 2":