如下图所示,我的yaxis标签显示在轴顶部不在中心,标签的一部分未显示
此处使用的选项:
var options = {
series: {
bars: {
show: true
}
},
bars:{
align: "center",
barWidth: 0.5
},
xaxis:{
axisLabel:"YEARS",
axisLabelUseCanvas: true,
axisLabelFontSizePixels: 12,
axisLabelFontFamily: 'Verdana, Arial',
axisLabelPadding: 10,
ticks: ticks
},
yaxis: {
axisLabel: "Number of publications",
axisLabelUseCanvas: true,
axisLabelFontSizePixels: 12,
axisLabelFontFamily: 'Verdana, Arial',
axisLabelPadding: 3,
},
legend:{
noColumns: 0,
labelBoxBorderColor: "#000000",
position: "nw"
},
grid:{
hoverable: true,
borderWidth: 2,
backgroundColor: {colors: ["#ffffff", "#EDF5FF"]}
}
};
我如何集中标签"出版数量"在yaxis?