daoyuanjiao commented on issue #9547: 如何追加数据到折线图的series中去??
URL: 
https://github.com/apache/incubator-echarts/issues/9547#issuecomment-445460262
 
 
   谢谢!这个也算是一种方法,跟我现在用的 var series_linshi=option.series.concat(option_his)  
option.series=series_linshi myChart.setOption(option, true, 
false);差不多,我是把两个数组连接起来。您这个是继续往前一个数组赋值。我是在想,myChart.setOption({
               series: option_jihua
           },
           false, false);重新赋值一个新的数组为什么就不行?,按照文档说法,第二个false应当是默认追加当前图形的数据的!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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