我试图让 xaxis 标签旋转到目前为止没有运气,这是我的 jsfiddle:http: //jsfiddle.net/YX9wX/10/
xaxis: {
renderer: $.jqplot.CategoryAxisRenderer,
ticks: jsonColsObj,
labelRenderer: $.jqplot.CanvasAxisLabelRenderer,
tickRenderer: $.jqplot.CanvasAxisTickRenderer,
tickOptions: {
angle: -30,
fontFamily: 'Arial',
fontSize: '9pt'
}
},
如您所见,“测试”标签水平放置而不是角度