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/14 13:58:55 UTC

[GitHub] [incubator-echarts] Nicolai8 commented on issue #11491: Custom Axis lable background color

Nicolai8 commented on issue #11491:
URL: https://github.com/apache/incubator-echarts/issues/11491#issuecomment-744457886


   for anyone who will also need this. There is a workaround just refer to [_rich_ option](https://echarts.apache.org/en/option.html#title.textStyle.rich):
   ```
   formatter: (value, index)=> `{${index}|${value}}`,
   rich: {
     1: {
       backgroundColor: 'red';
     },
     2: {
       backgroundColor: 'black';
     }
   }
   ```


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