5.0 tooltip hover 时的辅助线如何配置样式? #5263
-
如官方文档,对折线图的 tooltip,在使用了自带主题 classicDark 后,这条辅助线亦然是深灰色的,很难辨别。在官方折线图示例中把主题改为 classicDark 就可以复现。 现在想要配置它的颜色,但文档上目前看只有 title 和 items 可以配置,请问想要配置 hover 的这条辅助线应该用哪个选项? |
Beta Was this translation helpful? Give feedback.
Answered by
pearmini
Jul 3, 2023
Replies: 1 comment 1 reply
-
按照 chart.interaction('tooltip', {
crosshairsStroke: 'red',
crosshairsLineWidth: 10,
}); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dreamerblue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
按照
crosshairs${style}
的形式