[Bug] Series symbol rotation is not respected in legends
Version
5.3.0
Link to Minimal Reproduction
https://codepen.io/Harshitha19/pen/RwMRxEd
Steps to Reproduce
- Create a scatter series with different symbols, symbolRotation, and enable legends.
- Observe that series symbol rotation is not being inherited by the legends symbol.
Current Behavior
Series symbol rotation is not inherited by the legends symbol.

Expected Behavior
Legends symbol should inherit the series symbol rotation.
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
Conclusion
Adding a method getLegendIcon() to scatterSeriesModel can solve this problem. Submitting a PR to solve this.
Problem location
More info
Interesting enough, I've found that line series would not have such problem becasue of a judgement here:
https://github.com/apache/echarts/blob/add11459ee43a56f7ff5b300c76b3f801f59f3c6/src/component/legend/LegendView.ts#L371
Since the method getLegendIcon() exists only in LineSeriesModel and MapSeries, the judgement is not satisfied for scatter chart so the icons styles are not inheritated.
Hi, This is something we are also looking for the solution. Can I get the status or any suggestions/ workaround in this regard would be much appreciated.