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 10:25:53 UTC

[GitHub] [incubator-echarts] Bilge opened a new issue #13407: Apply series gradient to value axis

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


   ### What problem does this feature solve?
   Colour axis labels to match series gradient style (from visualMap).
   
   | Before | After |
   |-|-|
   | ![image](https://user-images.githubusercontent.com/470626/95572604-1ad0f600-0a22-11eb-8a18-c1c607326bd7.png) | ![image](https://user-images.githubusercontent.com/470626/95572595-173d6f00-0a22-11eb-8a9b-a29ca095149e.png)
   
   ### What does the proposed API look like?
   Up to you.
   
   <!-- 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] Bilge commented on issue #13407: Apply series gradient to value axis

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


   But the callback doesn't know what the colour should be, considering the axis has a dynamic scale and no access to the gradient interpolation algorithm.


----------------------------------------------------------------
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] Bilge commented on issue #13407: Apply series gradient to value axis

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


   But the callback doesn't know what the colour should be, considering the axis has a dynamic scale and no access to the gradient interpolation algorithm.


----------------------------------------------------------------
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 #13407: Apply series gradient to value axis

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


   Visual map works on series data only, but not axis. If you wish to make a similar result, you may try to set [axisLabel.color](https://echarts.apache.org/en/option.html#yAxis.axisLabel.color) with a callback where the color is depended on the index.


----------------------------------------------------------------
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] Bilge commented on issue #13407: Apply series gradient to value axis

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


   @pissang If you mean manually applying a gradient then no, that will not help. Since the scale is dynamic (can change), the client will not know how to apply the gradient to the scale itself. The charting library knows the scale and needs to apply it according to the portion of the visualMap that is visible.


----------------------------------------------------------------
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] Bilge commented on issue #13407: Apply series gradient to value axis

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


   This is not a support issue, this is a new feature. Is it planned?


----------------------------------------------------------------
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 #13407: Apply series gradient to value axis

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


   Perhaps supporting gradient color on the labels can solve this issue. 


----------------------------------------------------------------
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 #13407: Apply series gradient to value axis

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


   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] Ovilia commented on issue #13407: Apply series gradient to value axis

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


   Visual map works on series data only, but not axis. If you wish to make a similar result, you may try to set [axisLabel.color](https://echarts.apache.org/en/option.html#yAxis.axisLabel.color) with a callback where the color is depended on the index.


----------------------------------------------------------------
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 #13407: Apply series gradient to value axis

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


   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