highcharts心得
柱状图的双y轴
yAxis: [{
min: 0,
title: {
text: ''
},
gridLineWidth: 0,
labels: {
enabled: false
}
}, {
title: {
text: ''
},
opposite: true,
gridLineWidth: 0,
labels: {
enabled: false
}
}]
注意点:
y轴不显示字,那么text给空。
y轴不显示刻度值,那么labels给false.
不显示水平的刻度线,那么gridLineWidth给0.
隐藏legend:
enabled:false;
柱状图上加说明:
dataLabels:{
enabled:true,
format:'abc',
y:30
}