Skip to content

【V5】V4 中的 annotation 迁移到 V5 #5255

Answered by pearmini
BinghuiXie asked this question in Q&A
Discussion options

You must be logged in to vote

除了 chart.annotation().regionFilter(option) 不直接支持,其余的可以如下使用:

  • dataMarker
  • dataRegion: chart.region().label({ text: '' })
  • html: chart.shape().style({ render: () => {} }) 参考这个测试

chart.annotation().regionFilter(option) 的实现可以参考颜色渐变

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BinghuiXie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #5246 on June 29, 2023 09:06.