[Feat]: 实现类似于4.0的getTooltipItems方法 #6629
Replies: 6 comments
-
Beta Was this translation helpful? Give feedback.
-
4.0 的 |
Beta Was this translation helpful? Give feedback.
-
我想尝试一下,有 v4 的效果展示样例吗?我参照一下,实现后放到 v5 官网上。 |
Beta Was this translation helpful? Give feedback.
-
我写个demo,写好了贴在这里~ |
Beta Was this translation helpful? Give feedback.
-
貌似 现在更需要的是一个 tooltip 渲染数据(内部渲染内容)发生变化的监听,还是 tooltip 位置发生变化的监听呢? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the feature / 功能描述
传入
point[x,y]
,返回对应的tooltipItems
。使用场景:通过
"plot:click"
点击返回坐标,调用chart.getTooltipItems()
获得数据,完成后续业务逻辑。Are you willing to contribute? / 是否愿意参与贡献?
Please select / 请选择
Beta Was this translation helpful? Give feedback.
All reactions