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/12/04 07:36:24 UTC

[GitHub] [incubator-echarts] JBLGLN opened a new issue #13752: Change style of legend item when it is unselected

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


   
   ![Bildschirmfoto von 2020-12-04 08-26-10](https://user-images.githubusercontent.com/71066533/101135179-be4a1b80-360b-11eb-8f39-a4a7a315a8b8.png)
   ### What problem does this feature solve?
   Hi,
   
   trying to change the style of a legend itme when it is unselected. Actually when i unselect a legend item, not everything is grey colored. As you can see on the picture there is still a blue line in the unselected legend item.
   
   Can you help me out to fix the problem, so that there is also a grey line instead of blue line when the legend item is unselected.
   
   Thanks in advance for your help.
   br
   
   ### What does the proposed API look like?
   ...
   
   <!-- 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] JBLGLN commented on issue #13752: Change style of legend item when it is unselected

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


   The Legend is formatted with .legend.formatter and the textstyle is set with .legend.textStyle.rich


----------------------------------------------------------------
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 #13752: Change style of legend item when it is unselected

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


   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] JBLGLN edited a comment on issue #13752: Change style of legend item when it is unselected

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


   Thank you for your answer. But when I update the whole legend style then all legend items are changed. Is there a way to change only one item if it is not active. Is there something possible like:   'itemIsActive? colorAcitve : colorDisabled' ?


----------------------------------------------------------------
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] JBLGLN commented on issue #13752: Change style of legend item when it is unselected

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


   I modified the legend with the formatter function and used textStyle.rich. Is there a function/event with that the style of the legend item can be changed dynamically? 


----------------------------------------------------------------
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] JBLGLN commented on issue #13752: Change style of legend item when it is unselected

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


   Thank you for your answer. But when I update the whole legend style then the all legend items are changed. Is there a way to change only one item if it is not active. Is there something possible like:   'itemIsActive? colorAcitve : colorDisabled' ?


----------------------------------------------------------------
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 #13752: Change style of legend item when it is unselected

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


   `setOption` and update the legend style.


----------------------------------------------------------------
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 #13752: Change style of legend item when it is unselected

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


   @JBLGLN Please provide a demo for the issue either with https://codepen.io/Ovilia/pen/dyYWXWM or https://www.makeapie.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