-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Closed as not planned
Closed as not planned
Copy link
Labels
bugenThis issue is in EnglishThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.
Description
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
- Take any line chart example with multicolored lines, more than 2
- Set option color like
color: ["#87205d", "#ec933d"] - 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
- OS: Windows 10
- Browser: Chrome
- Framework: Vanilla JSAny additional comments?
Someone can white 'just don't use clear()', bit I need to run it because of the specifics of the environment
Metadata
Metadata
Assignees
Labels
bugenThis issue is in EnglishThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.