iamtekson opened a new issue #12368: The individual bar chart color can't change URL: https://github.com/apache/incubator-echarts/issues/12368 I am trying to change the different colour for the each bar. I know I can do this by adding the parameters in the series key. But I want to change the bar colour in a simple way. I write following code, ``` option = { color: ['#421131', '#545', '#344', '#ff3', '#305', '#405', '#505'], xAxis: { type: 'category', data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] }, yAxis: { type: 'value' }, series: [{ data: [120, 200, 150, 80, 70, 110, 130], type: 'bar', showBackground: true, backgroundStyle: { color: 'rgba(220, 220, 220, 0.8)' } }] }; ``` But this takes only the first color `#421131` only for all the bars.
---------------------------------------------------------------- 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]
