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

[GitHub] [incubator-echarts] magicdict opened a new issue #12964: 饼图颜色设定

magicdict opened a new issue #12964:
URL: https://github.com/apache/incubator-echarts/issues/12964


   ### Version
   4.8.0
   
   ### Steps to reproduce
   按照文档的说法,饼图的Series是没有color属性的,itemStyle是有这个属性的。
   
   ### What is expected?
   颜色设置正确。
   
   ### What is actually happening?
   实际发现,如果将颜色列表,也就是文档说的调色盘,设在option或者饼图的series的color属性,是没有问题的。
   但是设置在itemStyle的color里面会使得整个颜色变成黑色。
   
   ---
   最近在封装eCharts,这样的文档和实际不符的问题,碰到好几个了。
   eCharts是一个好项目,不过,文档还是需要好好修订,你们新的试一试功能虽然不错,但是,文档的准确性提高不了,这些功能也是鸡肋。
   
   <!-- 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



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


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12964: 饼图颜色设定

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


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


----------------------------------------------------------------
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] [incubator-echarts] echarts-bot[bot] commented on issue #12964: 饼图颜色设定

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


   @magicdict Please provide a demo for the issue either with https://codepen.io/Ovilia/pen/dyYWXWM or https://gallery.echartsjs.com/editor.html.


----------------------------------------------------------------
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] [incubator-echarts] magicdict commented on issue #12964: 饼图颜色设定

Posted by GitBox <gi...@apache.org>.
magicdict commented on issue #12964:
URL: https://github.com/apache/incubator-echarts/issues/12964#issuecomment-658486396


   改一下文档吧,Series的Color属性在文档里面是没有的。的确,itemStyle应该是单个颜色。


----------------------------------------------------------------
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] [incubator-echarts] pissang commented on issue #12964: 饼图颜色设定

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


   itemStyle.color 是不支持数组的,它设置的是图形的颜色。只有 option.color 是调色盘


----------------------------------------------------------------
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] [incubator-echarts] pissang edited a comment on issue #12964: 饼图颜色设定

Posted by GitBox <gi...@apache.org>.
pissang edited a comment on issue #12964:
URL: https://github.com/apache/incubator-echarts/issues/12964#issuecomment-658190621


   itemStyle.color 是不支持数组的,它设置的是单个图形的颜色。只有 option.color 或者 series.color 是调色盘


----------------------------------------------------------------
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] [incubator-echarts] pissang edited a comment on issue #12964: 饼图颜色设定

Posted by GitBox <gi...@apache.org>.
pissang edited a comment on issue #12964:
URL: https://github.com/apache/incubator-echarts/issues/12964#issuecomment-658190621


   itemStyle.color 是不支持数组的,它设置的是图形的颜色。只有 option.color 或者 series.color 是调色盘


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