在 y 轴上,我使用带有“/n”的 2 行文本,但我的文本一直在剪裁如何扩展文本行高?
axesDefaults: {
tickRenderer: $.jqplot.CanvasAxisTickRenderer,
tickOptions: {
angle: 0,
fontSize: '10pt'
},
labelRenderer: $.jqplot.CanvasAxisLabelRenderer,
labelOptions: {
//angle: -90,
fontSize: '10pt'
}
},
axes: {
yaxis: {
renderer: $.jqplot.CategoryAxisRenderer,
label: ' ',
//Group Category Name
ticks: groupname,
tickOptions: { fontSize: '11px', labelPosition:'middle', formatString :'%d'}
},
xaxis:
{
tickOptions: { angle: 0, fontSize: '11px', formatString :'%d' },
max: MaxX
}
}
谢谢