samavedulark edited a comment on issue #11491: Custom Axis lable background color URL: https://github.com/apache/incubator-echarts/issues/11491#issuecomment-546789411 Like we have for axisLable color below is the code. Need same for background color too. ```js axisLabel: { inside: false, textStyle: { color: function (value, index) { console.log(index) if(value === 'A') { return 'green'; } else if(value === 'B') { return 'blue'; } else if (value === 'C') { return 'black'; } else if (value === 'D') { return 'red'; } else if (value === '0') { return 'white'; } else { return '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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
