peder1001 edited a comment on issue #14116:
URL: https://github.com/apache/echarts/issues/14116#issuecomment-773577468


   Add the itemStyle to your series instead of the dataset.
   
   For example
   
   `option = {
       legend: {},
       tooltip: {},
       dataset: {
           source: [
               ['product', '2015', '2016', '2017'],
               ['Matcha Latte', 43.3, 85.8, 93.7],
               ['Milk Tea', 83.1, 73.4, 55.1],
               ['Cheese Cocoa', 86.4, 65.2, 82.5],
               ['Walnut Brownie', 72.4, 53.9, 39.1]
           ]
       },
       xAxis: {type: 'category'},
       yAxis: {},
       // Declare several bar series, each will be mapped
       // to a column of dataset.source by default.
       series: [
           {
           type: 'bar', 
           itemStyle: {
                 color: 'rgba(255,0,0,0.4)',
               },
           },
           {type: 'bar'},
           {type: 'bar'}
       ]
   };`


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to