ybj6118 opened a new issue #11619: treemap中data父级结构发生变化,自动添加到了children子集
URL: https://github.com/apache/incubator-echarts/issues/11619
 
 
   ### Version
   4.3.0
   
   ### Steps to reproduce
   this.ec.option.series[0].data = arrayData
   在formatter函数中打印出来的data中出现一个children子集并且arrayData在其中
   
   ### What is expected?
   在使用treemap时,只有一级结构的数据能按照一级结构绘制
   
   ### What is actually happening?
   一级结构数据被自动添加到children二级结构中去了
   
   ---
    this.ec1.option.series[0].data = newVal
    let gainChart = this.$echarts.init(document.getElementById('gain_chart'))
    gainChart.setOption(this.ec1.option)
   
   <!-- 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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to