0
我的jqPlot不顯示所有預期的酒吧。任何人都可以請說我做錯了什麼?jqPlot不顯示所有預期的酒吧
這裏是我的代碼:
plot5 = $.jqplot('chart1', [[
[1,1],
[3,2],
[2,6],
[5,4],
[7,6],
[5,6]
]], {
captureRightClick: true,
seriesDefaults:{
renderer:$.jqplot.BarRenderer,
shadowAngle: 135,
rendererOptions: {
barDirection: 'horizontal',
highlightMouseDown: true
},
pointLabels: {show: true, formatString: '%d'}
},
axes: {
yaxis: {
renderer: $.jqplot.CategoryAxisRenderer
}
}
});
謝謝!
謝謝,它解決了我的問題! – vaio
不客氣。如果能解決問題,請接受答案。謝謝 – Sasang