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/11/21 09:04:43 UTC

[GitHub] [incubator-echarts] x-strong opened a new issue #13657: Please add support for configuring color property by function for all chart type.

x-strong opened a new issue #13657:
URL: https://github.com/apache/incubator-echarts/issues/13657


   ### What problem does this feature solve?
   Flexibly config & control chart color, and make chart much more readable and meaningful. for example, a bar chart( horizontal) showing kafka topics disk usage, if I can control / config the bars color by function, then I can set the bar color according to the usage percentage, 50% < green, 50% <= oringe < 70%, 70% <= yellow < 80%, 80% <= red. Why do I need to set colors like that? Here I'd like to introduce a concept that we can just call it "semantics color", and it includes two kind of colors, safe color (green, some what like the traffic light) and warn color(yellow, oringe and red). If so, user can easily and quickly differentiate the imortant part and focus on those disk over-use topics.
   
   ### What does the proposed API look like?
   Color property can accept a functon which return the specific colors structure that match the chart type, and the function parameter is also specific to the chart type.
   
   <!-- 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] [incubator-echarts] echarts-bot[bot] commented on issue #13657: Please add support for configuring color property by function for all chart type.

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


   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 question.
   
   If you are interested in the project, you may also subscribe our [mailing 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] x-strong commented on issue #13657: Please add support for configuring color property by function for all chart type.

Posted by GitBox <gi...@apache.org>.
x-strong commented on issue #13657:
URL: https://github.com/apache/incubator-echarts/issues/13657#issuecomment-742191443


   > Hi. What series type are you using? It shouldn't use "random" color by default.
   
   Bar series.
   
   echarts official example of bar chart : https://echarts.apache.org/examples/zh/editor.html?c=bar-y-category


----------------------------------------------------------------
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] Ovilia edited a comment on issue #13657: Please add support for configuring color property by function for all chart type.

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


   Hi. What series type are you using? It shouldn't use "random" color by default.


----------------------------------------------------------------
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] Ovilia commented on issue #13657: Please add support for configuring color property by function for all chart type.

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


   Hi. What series type are you using?


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