echarts icon indicating copy to clipboard operation
echarts copied to clipboard

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

Open huihui925 opened this issue 1 year ago • 2 comments

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 avatar Jun 25 '24 07:06 huihui925

@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

echarts-bot[bot] avatar Jun 25 '24 07:06 echarts-bot[bot]

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

echarts-bot[bot] avatar Jun 26 '24 07:06 echarts-bot[bot]