label: {
show:true, //开启显示
position:'end', //在上方显示
formatter:'{c}%',//显示百分比 那个需要就放在那个上面
textStyle: {//数值样式
color:'#fff',
fontSize:12,
}
}
xAxis : [
{
type :'category',
data : ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
axisLabel: {
interval:0,
rotate:45,//倾斜度 -90 至 90 默认为0 x轴字体倾斜
textStyle: {
fontWeight:"normal",
color:"#006a89"
}
},
barBorderRadius:[10, 10, 0, 0], // 设置柱状图圆角
series : [
{
name:'直接访问',
type:'bar',
// 设置柱子的大小
barWidth:'60%',
网友评论