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 2021/09/16 12:19:46 UTC

[GitHub] [echarts] webywz opened a new issue #15740: 折线图设置 visualMap.pieces 2000个分段。配置dataZoom 放大缩小会卡,有什么方法解决吗?

webywz opened a new issue #15740:
URL: https://github.com/apache/echarts/issues/15740


   ### Version
   5.1.2
   
   ### Steps to reproduce
   visualMap.pieces 分段太多的话,会造成放大缩小卡顿。分段越多越卡,大概是1200个分段会卡
   
   ### What is expected?
   visualMap.pieces 分段太多的话,dataZoom 做优化,放大缩小不会卡顿
   
   ### What is actually happening?
   dataZoom 放大缩小会卡
   
   ---
   我的需求是图表的每一段的颜色都不一样。
   从第一个点开始,P0( 前一个点  ) 与 P1( 后一点  ) 做比较,
   P1 > P0 红,
   P1 < P0 绿,
   P1 = P0 按P0 点颜色
   
   除了visualMap.pieces 还有其他实现方案吗?
   
   <!-- 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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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


[GitHub] [echarts] BiosSun commented on issue #15740: 折线图设置 visualMap.pieces 2000个分段。配置dataZoom 放大缩小会卡,有什么方法解决吗?

Posted by GitBox <gi...@apache.org>.
BiosSun commented on issue #15740:
URL: https://github.com/apache/echarts/issues/15740#issuecomment-1044272418


   @pissang 我有尝试分成两个系列,但当数据点太多时,因为采样的关系,最终图形会有所变化。
   
   
   > @webywz 如果只有红绿两个颜色,建议分成两个系列,绿色系列中的红色数据部分用`'-'`填充,同理红色系列
   
   


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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


[GitHub] [echarts] echarts-bot[bot] commented on issue #15740: 折线图设置 visualMap.pieces 2000个分段。配置dataZoom 放大缩小会卡,有什么方法解决吗?

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #15740:
URL: https://github.com/apache/echarts/issues/15740#issuecomment-921545560


   @webywz Please provide a minimum reproducible demo for the issue either with https://codepen.io/Ovilia/pen/dyYWXWM , https://www.makeapie.com/editor.html or https://codesandbox.io/s/mystifying-bash-2uthz.
   
   *A minimum reproducible demo* should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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


[GitHub] [echarts] pissang commented on issue #15740: 折线图设置 visualMap.pieces 2000个分段。配置dataZoom 放大缩小会卡,有什么方法解决吗?

Posted by GitBox <gi...@apache.org>.
pissang commented on issue #15740:
URL: https://github.com/apache/echarts/issues/15740#issuecomment-921546066


   @webywz 如果只有红绿两个颜色,建议分成两个系列,绿色系列中的红色数据部分用`'-'`填充,同理红色系列


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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


[GitHub] [echarts] echarts-bot[bot] commented on issue #15740: 折线图设置 visualMap.pieces 2000个分段。配置dataZoom 放大缩小会卡,有什么方法解决吗?

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #15740:
URL: https://github.com/apache/echarts/issues/15740#issuecomment-920852240






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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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