echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Feature] Adding what to connect in echarts.connect

Open amirajv opened this issue 3 years ago • 3 comments

What problem does this feature solve?

  • Right now, echarts.connect will connect every aspect of the connected figures (xaxis, yaxis, etc)
  • In many cases however, you desire to only connect one aspect.
  • Example in Bokeh: https://docs.bokeh.org/en/2.4.3/docs/user_guide/interaction/linking.html#linked-panning
  • In the example, xaxis of all 3 figures are connected. But yaxis of only first 2 figures are connected.

What does the proposed API look like?

Proposed API: Adding what to connect in the connect function:

echarts.connect([chart1, chart2, chart3], 'xAxis');
echarts.connect([chart1, chart2], 'yAxis');

amirajv avatar Aug 11 '22 17:08 amirajv

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] avatar Aug 11 '24 21:08 github-actions[bot]

Would be great if it can be considered for v6

amirajv avatar Aug 12 '24 17:08 amirajv

Any chance for this to still be catched up?

djaszak avatar Dec 04 '25 14:12 djaszak