B1gF4ceC4t opened a new issue #11238: setOption 的 notMerge 不足以满足某些场景
URL: https://github.com/apache/incubator-echarts/issues/11238
 
 
   ### What problem does this feature solve?
   在图形切换的场景使用setOption,如从柱图切换到饼图,传入参数为想要更新的option配置。
   但效果是坐标轴依然存在,查看文档是因为notMerge默认false。
   如果设置notMerge为true,即只会使用传入的option,又会丢失一部分原有的option。
   
   ### What does the proposed API look like?
   希望不只有merge一种行为,因为是merge所以传入如{xAxis:null}也不能替换掉原有的xAxis(notMerge为false)。
   期望setOption可以有replace的行为,如果有其他方式可以实现也请告知,谢谢。
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to