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 2019/07/24 09:14:03 UTC

[GitHub] [incubator-echarts] 874435441 opened a new issue #10910: itemStyle中color使用回调函数时,线条颜色不发生变化,只有节点颜色发生变化

874435441 opened a new issue #10910: itemStyle中color使用回调函数时,线条颜色不发生变化,只有节点颜色发生变化
URL: https://github.com/apache/incubator-echarts/issues/10910
 
 
   ### Version
   4.2.1-rc1
   
   ### Reproduction link
   [https://gallery.echartsjs.com/editor.html?c=xSatSVYKMck&v=1](https://gallery.echartsjs.com/editor.html?c=xSatSVYKMck&v=1)
   
   ### Steps to reproduce
   无需操作,打开链接后已显示出bug
   
   ### What is expected?
   当itemStyle的color使用回调函数时,线条颜色也能产生相应变化
   
   ### What is actually happening?
   当itemStyle的color使用回调函数时,线条颜色不能产生相应变化
   
   ---
   当itemStyle的color使用固定颜色(例如:'#ABCDEF')时,线条颜色既然能变化为该颜色。<br />
   那么itemStyle的color使用回调函数时为何不能改变线条颜色呢?我认为这并不合理。<br/>
   而且这个与文档描述不符。
   
   > 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取改颜色。
   
   <!-- 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.
 
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