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/03/23 02:08:18 UTC

[GitHub] [incubator-echarts] panbinchn edited a comment on issue #12300: 当单页折线图数量5个起时,如何提高性能避免页面卡顿

panbinchn edited a comment on issue #12300: 当单页折线图数量5个起时,如何提高性能避免页面卡顿
URL: https://github.com/apache/incubator-echarts/issues/12300#issuecomment-602324022
 
 
   > @panbinchn 卡顿的原因可能有很多,方便发我们可以复现的 case 么
   
   我的需求是根据请求回来的曲线数据(曲线配置参数和源数据)显示多组不同样式折线图,每组折线图数量不定,在页面初始渲染时会卡顿1-3秒才把曲线渲染出来。因此想请教一下,当出现我这种多曲线渲染的场景下,有没有提高曲线渲染性能的方法?希望能够得到您的指教,非常感谢!
   
   `<div
               v-for="(item1, index1) in chartData"
               :key="index1"
               class="chartBox"
               :id="item1.chartType"
               :class="item1.chartType"
               v-show="isChartType==item1.chartType"
             >
               <lineChart
                 v-for="(item2, index2) in item1.chartList"
                 :key="index2"
                 :chartIndex="index2"
                 :chartConfig="item1.chartConfig"
                 :chartSeries="item2.data"
               ></lineChart>
             </div>`

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


With regards,
Apache Git Services

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