Ich bin neu in Jqplot, und ich habe ein pllustration mit IE11. Ich versuche ein Diagramm mit "Monat" auf xaxis anzuzeigen. Das ist mein Code.Jqplot Graph Daten funktioniert nicht gut
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
}
});
wobei "Diagramm" ein Bezeichner aus dem Diagrammcontainer ist. das funktioniert in chrom
Aber wenn ich IE nur einen Monat verwenden wird angezeigt.
Wie kann es reparieren? Danke im Voraus.