Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 多图联动,工具栏缩放dataZoom,icon高亮状态异常 #20071

Open
huihui925 opened this issue Jun 25, 2024 · 2 comments
Open
Labels
bug missing-demo The author should provide a demo. pending We are not sure about whether this is a bug/new feature. topic: connect waiting-for: author

Comments

@huihui925
Copy link

Version

5.5.0

Link to Minimal Reproduction

Steps to Reproduce

  1. echarts.connect() 使多图表联动
  2. 配置项开启工具栏 缩放工具
    toolbox: { feature: { dataZoom: {}, restore: {} } },
  3. 问题1:左侧图表 通过工具栏缩放,右侧图表也会正常缩放。但是右侧图表 ‘区域缩放还原’ icon高亮状态异常
    image
  4. 问题2:在步骤3的基础上,右侧图表点击重置icon,左侧图表的‘区域缩放还原’icon 依旧高亮
    image

Current Behavior

多图联动时,区域缩放,多图表的缩放icon 高亮状态没有完全联动

Expected Behavior

期望 多图联动时,能满足以下其中一个就行,

  1. 所有图表的icon缩放状态联动
  2. 只联动tooltip,取消缩放的功能联动

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

@huihui925 huihui925 added the bug label Jun 25, 2024
@echarts-bot echarts-bot bot added the pending We are not sure about whether this is a bug/new feature. label Jun 25, 2024
Copy link

echarts-bot bot commented Jun 25, 2024

@huihui925 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] Multi-image linkage, toolbar zooming dataZoom, icon highlight status abnormality

BODY

Version

5.5.0

Link to Minimal Reproduction

none

Steps to Reproduce

  1. echarts.connect() links multiple charts
  2. Configuration item opens toolbar zoom tool
    toolbox: { feature: { dataZoom: {}, restore: {} } },
  3. Question 1: When the chart on the left is scaled through the toolbar, the chart on the right will also scale normally. However, the highlight status of the ‘Region Zoom Restore’ icon in the chart on the right is abnormal.
    image
  4. Question 2: Based on step 3, click the reset icon on the right chart, but the ‘Region Zoom Restore’ icon on the left chart is still highlighted.
    image

Current Behavior

When multiple charts are linked, the area is zoomed, and the zoom icon highlighting state of multiple charts is not fully linked.

Expected Behavior

It is expected that when linking multiple pictures, one of the following will be satisfied:

  1. Linkage of icon scaling status of all charts
  2. Only link the tooltip and cancel the linkage of the zoom function.

Environment

- OS:
-Browser:
- Framework:

Any additional comments?

No response

@Ovilia Ovilia added missing-demo The author should provide a demo. topic: connect labels Jun 26, 2024
Copy link

echarts-bot bot commented Jun 26, 2024

@huihui925 Please provide a demo for the issue either with Official Editor, CodePen, CodeSandbox or JSFiddle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug missing-demo The author should provide a demo. pending We are not sure about whether this is a bug/new feature. topic: connect waiting-for: author
Projects
None yet
Development

No branches or pull requests

2 participants