0
我是Jqplot中的新成員,我有一個與IE11相關的問題。我試圖在xaxis上顯示帶有「月」的圖形。這是我的代碼。Jqplot圖形數據無法正常工作
var line1=[["1", 4],["2", 4],["3", 4], ["4", 6.5], ["5", 5.7], ["6", 9]];
var plot1 = $.jqplot('chart', [line1], {
title:'Rotated Axis Text',
axesDefaults: {
labelRenderer: $.jqplot.CanvasAxisLabelRenderer
},
axes:{
xaxis:{
label:"test axes des abs",
pad: 0,
renderer:$.jqplot.DateAxisRenderer,
rendererOptions:{
tickRenderer:$.jqplot.CanvasAxisTickRenderer
},
tickOptions:{
fontSize:'10pt',
fontFamily:'Tahoma',
angle:-40,
formatString:'%B'
}
},
yaxis:{
label:'Cosine',
}
},
legend: {
renderer: $.jqplot.EnhancedLegendRenderer,
show: true,
showLabels: true,
location: 'ne',
placement: 'outside',
fontSize: '11px',
fontFamily: ["Lucida Grande","Lucida Sans Unicode","Arial",],
rendererOptions: {
seriesToggle: 'normal'
}
},
series:[{"label":"test des lignes"}],
cursor:{
zoom:true,
looseZoom: true
}
});
如何解決?提前致謝。