DorisOu opened a new issue #10081: 怎样设置动态柱状图的初始数
URL: https://github.com/apache/incubator-echarts/issues/10081
 
 
   ### What problem does this feature solve?
   我的配置如下,一开始是加载了所有数据
   option = {
   xAxis: [{
               type: 'category',
               boundaryGap: true,
               data: ['产品质量追溯', '打码设备', '供应链管理', '经营管理', '设备远程运维及服务', '设备智能调机', 
'生产品质管控', '生产设备状态监控', '研发管理协同', '智能排单调度', '应用服务目录']
           }]
   }
   
   option.timeTicket = setInterval(function() {
           var data0 = option.series[0].data;
           var p2 = data0.shift();
           data0.push(p2);
   
           var kl = option.xAxis[0].data.shift();
           option.xAxis[0].data.push(kl);
           myChart.setOption(option);
       }, 3000);
   
   ### What does the proposed API look like?
   是否可以设置文档的某个API实现?参考过X轴是时间轴的写法,但是无法实现
   
   <!-- 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