You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/09/27 02:54:27 UTC

[GitHub] [incubator-echarts] Ovilia commented on issue #13348: When the bar has two duplicate data, modifying one will refresh the other at the same time.(CH:当柱状图有两个重复数据时,修改其中一个会同时刷新另外一个))

Ovilia commented on issue #13348:
URL: https://github.com/apache/incubator-echarts/issues/13348#issuecomment-699576854


   Hi @BiptJXu ,
   
   I cannot reproduce your problem with
   ```js
   var my_data=[130, 200, 150, 80, 70, 110, 130];
   option = {
       xAxis: {
           type: 'category',
           data: my_data
       },
       yAxis: {
           type: 'value'
       },
       series: [{
           data: my_data,
           type: 'bar'
       }]
   };
   
   setTimeout(function() {
       my_data[0] = 1000;
       myChart.setOption(option);
   }, 1000);
   ```
   
   Could you make an online demo?


----------------------------------------------------------------
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:
users@infra.apache.org



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