You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2018/05/24 14:07:00 UTC

[GitHub] harsima opened a new issue #8397: 线形图异步数据加载动画错误

harsima opened a new issue #8397: 线形图异步数据加载动画错误
URL: https://github.com/apache/incubator-echarts/issues/8397
 
 
   <!--
   为了方便我们能够复现和修复 bug,请遵从下面的规范描述您的问题。
   -->
   
   
   ### One-line summary [问题简述]
   当使用官网的异步加载示例时,将图表类型改为line时,图表线从上面滑落下来,而不是从左向右逐步画出来。
   当图表类型为line,并且yAxis有min和max时,无加载动画
   
   
   
   ### Version & Environment [版本及环境]
   + ECharts version [ECharts 版本]: 4.1.0
   + Browser version [浏览器类型和版本]: Chrome 65.0.3325.181
   + OS Version [操作系统类型和版本]: Windows 10 1803
   
   
   
   
   
   ### Expected behaviour [期望结果]
   如正常line型图表,动画为从左到右描线显示
   
   
   
   
   
   ### ECharts option [ECharts配置项]
   <!-- Copy and paste your 'echarts option' here. -->
   <!-- [下方贴你的option,注意不要删掉下方 ```javascript 和 尾部的 ``` 字样。最好是我们能够直接运行的 option。如何得到能运行的 option 参见上方的 guidelines for contributing] -->
   ```javascript
   option = {
       title: {
           text: '异步数据加载示例'
       },
       tooltip: {},
       legend: {
           data:['销量']
       },
       xAxis: {
           data: []
       },
       yAxis: {
           min: 0,
           max: 40
       },
       series: [{
           name: '销量',
           type: 'line',
           data: []
       }]
   }
   
   ```
   
   
   
   
   ### Other comments [其他信息]
   <!-- For example: Screenshot or Online demo -->
   <!-- [例如,截图或线上实例 (JSFiddle/JSBin/Codepen)] -->
   实例页面:[http://www.echartsjs.com/gallery/editor.html?c=doc-example/tutorial-async](http://www.echartsjs.com/gallery/editor.html?c=doc-example/tutorial-async)
   请按照上文中option进行替换或修改(其实只修改了`series.type`及`yAxis`)
   ![3](https://user-images.githubusercontent.com/24699131/40490432-12b47dc4-5f9e-11e8-86b0-b9c208a018b7.gif)
   
   

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


With regards,
Apache Git Services

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