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

[GitHub] [incubator-echarts] Bilge opened a new issue #13402: User cannot copy data point's colour to itemStyle even though built-in themes can

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


   ### Version
   4.9.0
   
   ### Steps to reproduce
   By default, itemStyle displays items using data point's colour as its border colour. In "dark" theme, this is reversed so that the item's fill colour is the data point colour. However, it seems there is no way for the user to express this, because `series-line.itemStyle.color` and `series-line.itemStyle.borderColor` can only be fixed colours, gradients or textures: they cannot reference the data point's colour.
   
   I also checked the [source for the dark theme](https://github.com/apache/incubator-echarts/blob/master/theme/dark.js) to see how it was doing this and there is nothing in the code related to changing the itemStyle's colour to match the data point colour.
   
   | Default theme | Dark theme |
   |-|-|
   | ![image](https://user-images.githubusercontent.com/470626/95564786-34b90b80-0a17-11eb-8dd7-1ae953cc670e.png) | ![image](https://user-images.githubusercontent.com/470626/95564928-60d48c80-0a17-11eb-8bc9-3090f8d80fa3.png) |
   
   
   ### What is expected?
   User should be able to set the colour using the data point's colour assigned to it by visualMap.
   
   ### What is actually happening?
   User can only set a fixed colour that is not related to the data point's colour.
   
   I cannot just change the entire theme to get this effect, because (besides being unintuitive) changing the entire theme has other consequences.
   
   <!-- 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 #13402: User cannot copy data point's colour to itemStyle even though built-in themes can

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


   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 #13402: User cannot copy data point's colour to itemStyle even though built-in themes can

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


   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