CrazyRedTime opened a new issue, #18500: URL: https://github.com/apache/echarts/issues/18500
### Version 5.4.1 ### Link to Minimal Reproduction https://codesandbox.io/s/stacked-line-chart-forked-c57zbj?file=/index.js:506-528 ### Steps to Reproduce 1. Take any line chart example with multicolored lines, more than 2 2. Set option color like `color: ["#87205d", "#ec933d"]` 3. Run myChart.clear() before myChart.setOption(option) ### Current Behavior First two lines actually have colors from array, what I set in option color, all next lines take own colors from basic eCharts palette or whatever, but not from array of my colors ### Expected Behavior All next lines must takes same colors as who first lines, from color array. Like if I don't run myChart.clear(); ### Environment ```markdown - OS: Windows 10 - Browser: Chrome - Framework: Vanilla JS ``` ### Any additional comments? Someone can white 'just don't use clear()', bit I need to run it because of the specifics of the environment -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
