指标满意度、提及率排行榜

描述:当前是关于Echarts图表中的 柱状图 示例。
 
            const set1 = [
  ['属性', '指标满意度'],
  ['其他(6)', 3.58],
  ['属性4', 4.11],
  ['属性2', 4.5],
  ['属性5', 4.93],
  ['属性3', 4.97],
  ['属性1', 5.9]
];

option = {
    // backgroundColor: '#fff',
    dataset: {
        source: set1
    },
    legend:{
        top:8,
        left:8
    },
    grid: {
        top: 40,
        left: 80,
        right: 24,
        bottom: 48,
    },
    xAxis: {
    },
    yAxis: {
        type: 'category',
    },
    
    series: [{
        type: 'bar',
    }]
};

myChart.resize({
    width: 536,
    height: 320
})