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 2021/09/23 01:32:26 UTC

[GitHub] [echarts] brightzoe commented on issue #15766: Customize each legend color separately

brightzoe commented on issue #15766:
URL: https://github.com/apache/echarts/issues/15766#issuecomment-925446114


   
   
   
   
   > Currently, you can configure like this,
   > 
   > ```js
   > legend: {
   >   data: [{
   >     name: 'Legend Name',
   >     itemStyle: {
   >       color: 'red'
   >     }
   >   }]
   > }
   > ```
   > 
   > Refer to https://echarts.apache.org/en/option.html#legend.data.itemStyle.color for more details.
   
   @plainheart  Thanks ,I find the docs and usage of custimize legend. I didn't find the corresponding method till you help me. 
   
   Echarts supported this ,It resolved,thank u!


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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