
yAxis:{
title:{
text:''
},
min:0,
gridLineWidth:'0px',
plotLines:[{
value:0,
width:1,
color:'#fff'
}],
labels:{
formatter:function(){
returnthis.value
},
style:{
color:'#fff',
fontSize:'16px',
fontFamily:'微软雅黑'
}
},
lineWidth:1
},
扩展资料
xAxis:{
categories:['北京','哈尔滨','青岛','天津','上海','杭州','南京','广州','深圳','香港','昆明','成都'],
labels:{
y:30,//向下离坐标轴30px,可以自己调整
style:{
writingMode:'tb-rl'//文字竖排样式,
}
}
},
在highCharts对象中加入如下代码:
legend : {itemStyle : {
'fontSize' : '18px'
}
}
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)