echarts icon indicating copy to clipboard operation
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

Open sumuski opened this issue 3 years ago • 0 comments

Version

5.3.3

Link to Minimal Reproduction

https://codesandbox.io/s/basic-scatter-chart-forked-6g09re?file=/index.html

Steps to Reproduce

  1. Hover anywhere on the chart.
  2. When tooltip has config 'trigger' as 'axis', tooltip is visible even when there is no data point at that place.

Current Behavior

  1. Hover anywhere on the chart.
  2. 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?

sumuski avatar Aug 01 '22 11:08 sumuski