各品牌价格数的盒形图echarts boxplot配置项内容和展示

配置项如下
      const set1 = [
    ['海尔', 655, 700, 850, 890, 1200],
    ['格力', 824, 908, 1238, 1698, 2361],
    ['美的', 1083, 1235, 1310, 2943, 4169],
    ['华帝', 121, 148, 390, 490, 700],
    ['小狗电器', 682, 765, 854, 1353, 1451]
];

option = {
    // backgroundColor: '#fff',
    grid:{
        left:64,
        right:24,
        top:8,
        bottom:40
    },
    tooltip: {
        show: true
    },
    dataset: {
        source: set1
    },
    xAxis: {
        type: 'value'
    },
    yAxis: {
        type: 'category'
    },
    series: [{
        type: 'boxplot',
    }]
};
myChart.resize({
    width: 536,
    height: 320
})
    
截图如下