barWidth属性

series: [{
    name: '销量',
    type: 'bar',
    barWidth : 30,//柱图宽度
    data: [5, 20, 36, 10, 10, 20]
}]

echarts控制柱状图柱条的宽度

相关文章: