间距设置
plotOptions: {
series: {
pointPadding: 0,//数据点之间的距离值
groupPadding: 0,//分组之间的距离值
borderWidth: 0,
shadow: false,
pointWidth:5 //柱子之间的距离值
}
},
数据显示设置
column: {
dataLabels: {
enabled: true,
allowOverlap: true,
crop:false,
overflow: 'none',
formatter: function() { //格式化输出显示
var y
if(this.y>10000){
y=this.y/10000
this.y=y.toFixed(2)+'万'
}else{
y=this.y.toFixed(2)
this.y=y
}
return this.y
},
}
},