apache / echarts

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

[Bug] symbolRotate for legend is neither inherited nor being set in case of scatter series. #17955

Open Teja0191 opened 2 years ago

Teja0191 commented 2 years ago

Version

5.4

Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5AMYCGYVA5sAE7m0A0J6AE2aMiAbVoBZGL1i0AKgFcqM2gHUqAlXIAWClQDEOEFQGVmphdFoBdEgF8-6cjnxFUpMpRqyAbowA2SrT2jrB4VEZUhLCi_MQegsJiAIwArAAMPLAATADMmTnZACxZ2ckAHFnJualVRQDspQBs6dahHhTUdHhMYCwcvHHoeOQAtgBGwP4EtGBGjNCs_srtpCMTUyYQAF402ZlDYWOT_gBKwGDMNBUHCbDQjKM0tNqMr8EediRtJMusVNABAQkF87ABuIA

Steps to Reproduce

1.Plot a basic scatter chart. 2.Add symbol as triangle and symbolRotate as 180 in series object. 3.Plot legend by legend object in options

Current Behavior

symbolRotate issue

Legend symbol and series symbol are not on sync.

Expected Behavior

Series symbols rotation should be inherited by legend.

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

plainheart commented 2 years ago

Related to #17359

github-actions[bot] commented 6 days 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.