Version
5.3.1
Link to Minimal Reproduction
No response
Steps to Reproduce
-
Go to https://echarts.apache.org/examples/en/editor.html?c=area-basic
-
At the end place the following code
setTimeout(() => {
option.series.map(s => {
s.step = 'end';
delete s.areaStyle;
});
myChart.setOption(option,{ notMerge: true });
},4000);
Current Behavior
After the 4 seconds timeout, the chart changes to step line chart but the area shading is not removed.
Expected Behavior
The area shading should be removed.
Note that, if instead of setting the step to 'end', only the areaStyle is deleted, it does remove the area shading and show only the line chart as expected.
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response