echarts
echarts copied to clipboard
[Bug] For Scatter chart, when tooltip has 'trigger' value as 'axis', tooltip is shown on every co-coordinate even if there is not data at that point
Version
5.3.3
Link to Minimal Reproduction
https://codesandbox.io/s/basic-scatter-chart-forked-6g09re?file=/index.html
Steps to Reproduce
- Hover anywhere on the chart.
- When tooltip has config 'trigger' as 'axis', tooltip is visible even when there is no data point at that place.
Current Behavior
- Hover anywhere on the chart.
- When tooltip has config 'trigger' as 'axis', tooltip is visible even when there is no data point at that place.
Expected Behavior
Even if we have tooltip config 'trigger' as 'axis' for scatter chart, tooltip should come only at the co-ordinates where data is present.
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
Is there is any workaround to achieve this for time being?