Ovilia commented on issue #20416: URL: https://github.com/apache/echarts/issues/20416#issuecomment-2410491693
This is not a bug. Please read the [doc](https://echarts.apache.org/zh/api.html#echartsInstance.setOption) carefully. When using replace merge, series is merged based on id. So when you calling `setOption` for the second time, labelLayout is not provided and thus the old labelLayout is used (merged). To fully reset the series, you need to set a different `series.id` the second time you calling `setOption`, or you can set `notMerge` to be `true` to force not using merging. -- 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]
