在 Vega Lite 中关闭水平规则的鼠标悬停
Turn off mouse-over for horizontal rule in Vega Lite
渲染效果很好,但似乎鼠标悬停在虚线上,如何排除它?值得注意的是,它似乎从蓝线中拉出系列标签,不知道为什么。
您可以通过在标记属性中将 tooltip
设置为 null
来关闭规则标记上的工具提示:
"mark": {"type": "rule", "tooltip": null}
查看完整图表 here。
渲染效果很好,但似乎鼠标悬停在虚线上,如何排除它?值得注意的是,它似乎从蓝线中拉出系列标签,不知道为什么。
您可以通过在标记属性中将 tooltip
设置为 null
来关闭规则标记上的工具提示:
"mark": {"type": "rule", "tooltip": null}
查看完整图表 here。