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/04/23 09:34:30 UTC

[GitHub] [echarts] pumpkindev opened a new issue #14773: series-graph.links.lineStyle. color 渐变色 可以从source 到 target自定义吗

pumpkindev opened a new issue #14773:
URL: https://github.com/apache/echarts/issues/14773


   ### Version
   5.0.1
   
   ### Steps to reproduce
   目前links 线性渐变色是绝对的从某个方向到另外一个方向的颜色渐变
   可否实现,从soure到target方向颜色渐变
   
   ### What is expected?
   可否实现,从soure到target方向颜色渐变
   使用颜色渐变来展示source——>target的方向
   
   ### What is actually happening?
   线性渐变色是绝对的从某个方向到另外一个方向的颜色渐变
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. 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:
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] Ovilia commented on issue #14773: series-graph.links.lineStyle. color 渐变色 可以从source 到 target自定义吗

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


   不是很好做,可以试试通过两点的位置计算出角度然后设置渐变的角度。


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



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


[GitHub] [echarts] Ovilia commented on issue #14773: series-graph.links.lineStyle. color 渐变色 可以从source 到 target自定义吗

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


   不是很好做,可以试试通过两点的位置计算出角度然后设置渐变的角度。


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



---------------------------------------------------------------------
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 #14773: series-graph.links.lineStyle. color 渐变色 可以从source 到 target自定义吗

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






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



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


[GitHub] [echarts] chen198328 commented on issue #14773: series-graph.links.lineStyle. color 渐变色 可以从source 到 target自定义吗

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


   桑基图里面已经实现了,能否把‘gradient'这个属性移植到link上 @echarts-bot  @pumpkindev
    @Ovilia 
   series-sankey.lineStyle
   桑基图边的样式,其中 lineStyle.color 支持设置为'source'或者'target'特殊值,此时边会自动取源节点或目标节点的颜色作为自己的颜色。
   
   从 5.0 开始, lineStyle.color 还可以设置为'gradient',取从源节点到目标节点的渐变色。


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