简单数据集柱状图

描述:当前是关于Echarts图表中的 柱状图 示例。
 
            option = {
  backgroundColor: 'rgb(10,25,62)',
  color:['#7BF3F5','#DD6051'],
  legend: {
    textStyle:{
      color:'#fff'
    }
  },
  tooltip: {
    textStyle:{
      color:'#fff'
    }
    
  },
  dataset: {
    source: [
      ['车间1', '良品', '不良品'],
      ['车间2', 271, 19],
      ['车间3', 330, 24],
      ['车间4', 129, 11],
      ['车间5', 107,12]
    ]
  },
  xAxis: { type: 'category',axisLabel:{color:'#fff',fontSize:16}},
  yAxis: {axisLabel:{color:'#fff'}},
  series: [{ type: 'bar',barWidth: 26 }, { type: 'bar',barWidth: 26 }]
};