您好我正在尝试在jqplot的气泡图中向X轴添加日期,但x轴未被绘制。在我正在使用的jqplot脚本下面。
$(document).ready(function () {
var arr = [['2008-07-30 8:00AM', 123, 1236, "Acura"],
['2008-08-30 8:00AM', 92, 1067, "Alfa Romeo"],
['2008-09-30 8:00AM', 104, 1176, "AM General"]];
plot1 = $.jqplot('chart2', [arr], {
title: 'Transparent Bubbles',
axes: {
xaxis:{
renderer: $.jqplot.DateAxisRenderer
}
},
seriesDefaults: {
renderer: $.jqplot.BubbleRenderer,
rendererOptions: {
bubbleAlpha: 0.6,
highlightAlpha: 0.8
},
shadow: true,
shadowAlpha: 0.05
}
});
});
请帮我解决这个问题。 TIA。