apache / echarts

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

[Bug] Add a timeline and set the parameter "timeline. controllStyle. itemSize". The style and size of the "forward" and "backward" buttons will not take effect #20356

Open Dani-bin opened 1 month ago

Dani-bin commented 1 month ago

Version

5.5.1

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=doc-example%2Fmix-timeline-all&edit=1&reset=1&version=5.5.1

Steps to Reproduce

Add code blocks to the code block timeline: controlStyle: { position: 'left', itemSize:10 },

Current Behavior

The style and size of the "forward" and "backward" buttons do not take effect

Expected Behavior

Expect the styles and sizes of the "forward" and "backward" buttons to take effect

Environment

- OS: macOS
- Browser:Chrome 128.0.6613.137
- Framework:Vue@3

Any additional comments?

No response

helgasoft commented 1 month ago

controlStyle.position is only for the Play button, same for itemSize. "forward" and "backward" button positions cannot be changed. 📌 please close issue if problem solved.