【发布时间】:2013-11-28 11:27:56
【问题描述】:
我正在尝试根据时间轴绘制费用数据,如果数据条显示同一日期的数据,我会看到它们重叠。我期待图表显示条形彼此相邻,但事实并非如此。见sample of code at this link...
$.plot($("#placeholder"), newJson,
{
bars: {
show: 1,
barWidth: 24 * 60 * 60 * 1000 * 10
},
xaxis: { mode:"time" }
});
【问题讨论】:
标签: jquery time flot bar-chart overlapping