apache / echarts

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

[Bug] 图表中有多条折线且为密集数据时,即使关闭emphasis多条折线也会来回被渲染在最上层 #16291

Closed loadingwyn closed 10 months ago

loadingwyn commented 2 years ago

Version

5.2.2

Link to Minimal Reproduction

No response

Steps to Reproduce

{
  series: [{
        name: ' xxx',
        sampling: 'lttb',
        type: 'line',
        emphasis: false,
        showSymbol: false,
        symbol: 'circle',
        symbolSize: 10
      };
  }]

Current Behavior

鼠标hover的series会被渲染在最上层,即使emphasis被设置为false, 这导致当图表中有多条折线且为密集数据时,用户一旦移动鼠标,多条折现会来回被渲染在最上层,视觉效果为快速闪动,体验较差

Expected Behavior

emphasis关闭后,能够取消所有默认效果

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

echarts-bot[bot] commented 2 years ago

@loadingwyn It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED
**TITLE** [Bug] When there are multiple polylines in a chart and are dense data, even if the emphasis multiple polylines are turned off, they will be rendered back and forth at the top **BODY** ### Version 5.2.2 ### Link to Minimal Reproduction _No response_ ### Steps to Reproduce ```js { series: [{ name: ' xxx', sampling: 'lttb', type: 'line', emphasis: false, showSymbol: false, symbol: 'circle', symbolSize: 10 }; }] ``` ### Current Behavior Mouse cover's strings will be rendered at the top, even if the emphasis is set to false, which results in when there are multiple polylines in the chart and dense data, once the user moves the mouse, multiple discounts will be rendered back and forth at the top, the visual effect is fast flashing, the experience is poor ### Expected Behavior When emphasis is turned off, all default effects can be suppressed ### Environment ```markdown - OS: - Browser: - Framework: ``` ### Any additional comments? _No response_
github-actions[bot] commented 10 months 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 10 months 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!