You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/05/20 12:05:18 UTC

[GitHub] [incubator-echarts] Drapegnik opened a new issue #10505: Emphasis styles for non-active segments

Drapegnik opened a new issue #10505: Emphasis styles for non-active segments
URL: https://github.com/apache/incubator-echarts/issues/10505
 
 
   ### What problem does this feature solve?
   I want to change other chart bars styles when one bar is active
   
   #### normal
   ![Screen Shot 2019-05-20 at 14 46 08](https://user-images.githubusercontent.com/11758660/58020305-75597180-7b10-11e9-992d-585a1cb76a04.png)
   
   #### emphasis
   ![Screen Shot 2019-05-20 at 14 46 13](https://user-images.githubusercontent.com/11758660/58020307-75597180-7b10-11e9-8d11-437df13ee8b5.png)
   
   
   ### What does the proposed API look like?
   ```js
       series: [
         {
           data,
           type: 'bar',
           itemStyle: {
             normal: {
               color: 'blue',
             },
             emphasis: {
               color: 'red',
             },
             passiveEmphasis: {
               color: 'gray',
             },
           },
         },
       ],
   ```
   
   if you approve, I could try to implement this
   
   <!-- 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


With regards,
Apache Git Services

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