xAxis : [
{
type : 'category',
name:'名称',
boundaryGap : true,//false代表贴着y轴。
data : []
}
],
series : [
{
name:'数量',
type:'bar',
smooth:true,
itemStyle: {normal: {areaStyle: {type: 'default'}}},
data:[]
,barWidth:50//设置柱状图柱子的宽度
}
]