apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.1k stars 19.6k forks source link

[Bug] Remove tooltip from 3d Bar when we remove focus from the chart #17533

Closed salahBouragba closed 4 days ago

salahBouragba commented 2 years ago

Version

14.0.0

Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=bar3d-dataset&gl=1

Steps to Reproduce

  1. Focus on an element of the 3d Bar chart
  2. Verify that we show the tooltip
  3. Remove focus from the chart
  4. The tooltip doesn't disappear

Current Behavior

The tooltip stays in the chart

Expected Behavior

The tooltip should disappear like in the other charts (ex: https://echarts.apache.org/examples/en/editor.html?c=bar-simple)

Environment

- OS: Windows 10
- Browser: Chrome 104.0.5112.82, Edge 104.0.1293.54, Firefox 103.0.2
- Framework: Angular 14

Any additional comments?

No response

helgasoft commented 2 years ago

+1 Also, the example tooltip code needs to be fixed:

          encode: {
            x: 'Year',
            y: 'Country',
            z: 'Life Expectancy',
            //tooltip: [0, 1, 2, 3, 4] = incorrect display
          },
          tooltip: [0, 1, 2, 3, 4]
github-actions[bot] commented 1 week ago

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

github-actions[bot] commented 4 days ago

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!