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/08 06:20:07 UTC

[GitHub] lvybriage opened a new issue #8304: parallel图渲染问题

lvybriage opened a new issue #8304: parallel图渲染问题
URL: https://github.com/apache/incubator-echarts/issues/8304
 
 
   <!--
   为了方便我们能够复现和修复 bug,请遵从下面的规范描述您的问题。
   -->
   
   
   ### One-line summary [问题简述]
   parallel图中,最简单的平行图里,如果设置 smooth: true的话,渲染的时候,会出现先后渲染,最后才会渲染轴线顶部的线条。
   
   
   ### Version & Environment [版本及环境]
   + ECharts version [ECharts 版本]:  "echarts": "^4.0.2", "echarts-for-react": "^2.0.8",
   + Browser version [浏览器类型和版本]: 谷歌浏览器
   + OS Version [操作系统类型和版本]:
   
   
   
   
   
   ### Expected behaviour [期望结果]
   
   同步渲染,而不是有先后。
   
   
   ### ECharts option [ECharts配置项]
   <!-- Copy and paste your 'echarts option' here. -->
   <!-- [下方贴你的option,注意不要删掉下方 ```javascript 和 尾部的 ``` 字样。最好是我们能够直接运行的 option。如何得到能运行的 option 参见上方的 guidelines for contributing] -->
   ```javascript
   option = {
       parallelAxis: [
           {dim: 0, name: 'Price'},
           {dim: 1, max: 1028,name: 'eight'},
           {dim: 2, name: 'Amount'},
           {
               dim: 3,
               name: 'Score',
               type: 'category',
               data: ['Excellent', 'Good', 'OK', 'Bad']
           }
       ],
       series: {
           type: 'parallel',
           smooth: true,
           lineStyle: {
               width: 4
           },
           data: [
               [12.99, 100, 82, 'Good'],
               [9.99, 80, 77, 'OK'],
               [20, 1024, 60, 'Excellent']
           ]
       }
   };
   
   ```
   
   
   
   
   ### Other comments [其他信息]
   
   刚开始渲染的时候,20 1028这段并没有渲染,而是在整个图完成之后最后渲染的。
   
   option中去掉 smooth: true 这个属性就没这个问题了。
   
   但是因为需求,我们需要平滑的曲线。
   
   求大神支招。
   

----------------------------------------------------------------
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