echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] legend 设置 symbolRotate 为 inherit 不生效

Open yyk112233 opened this issue 1 year ago • 1 comments

Version

5.5.1

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=scatter-simple

Steps to Reproduce

设置如下 option,图例的 symbol 没有旋转 option = { xAxis: {}, yAxis: {}, legend: { show: true, symbolRotate: "inherit", }, series: [ { name: "ttt", symbolSize: 20, symbol: "triangle", symbolRotate: 180, data: [ [10.0, 8.04], [8.07, 6.95], [13.0, 7.58], [9.05, 8.81], [11.0, 8.33], [14.0, 7.66], [13.4, 6.81], [10.0, 6.33], [14.0, 8.96], [12.5, 6.82], [9.15, 7.2], [11.5, 7.2], [3.03, 4.23], [12.2, 7.83], [2.02, 4.47], [1.05, 3.33], [4.05, 4.96], [6.03, 7.24], [12.0, 6.26], [12.0, 8.84], [7.08, 5.82], [5.02, 5.68] ], type: 'scatter' } ] };

Current Behavior

设置 legend 的symbolRotate 不生效

Expected Behavior

期望设置了之后,图例的旋转跟跟随series

Environment

- OS: win11
- Browser: chrome
- Framework:

Any additional comments?

No response

yyk112233 avatar Dec 05 '24 03:12 yyk112233

repeat #17955

sz-p avatar Dec 05 '24 12:12 sz-p