ant-design-charts
ant-design-charts copied to clipboard
🐛[BUG] Tooltip disappearing on data updates
bug description
https://codesandbox.io/s/friendly-jang-oxrwn?file=/App.tsx
- hover over the chart, leave your cursor there
- wait for a data update
- [bug] tooltip usually disappears or the marker appears at an incorrect position
ant-design-charts: 1.2.9
note
In the G2 docs, the tooltip behaves as expected: https://g2plot.antv.vision/en/docs/api/plot-api/#4-changedata
@tothandras Did you ever find a fix for this?
@lxfu1 This appears to still be an issue in 1.3.6 for the DualAxes
chart as well
@ZLester Unfortunately, no. It wasn't a priority for us, just annoying from a user perspective.
I did a little digging and discovered the tooltip disappearing for Line is a problem in Ant charts, while it happens in g2plot for DualAxes. Filed an issue for DualAxes there https://github.com/antvis/G2Plot/issues/3257
The link you provided is normal, https://codesandbox.io/s/friendly-jang-oxrwn?file=/App.tsx