Fixed bug in handling bar series with only one item

git-svn-id: https://flot.googlecode.com/svn/trunk@46 1e0a6537-2640-0410-bfb7-f154510ff394
pull/1/head
olau@iola.dk 18 years ago
parent 865688a15f
commit 6214c9298b

@ -1122,7 +1122,7 @@
function drawSeriesBars(series) {
function plotBars(data, barWidth, offset, fill) {
if (data.length < 2)
if (data.length < 1)
return;
for (var i = 0; i < data.length; i++) {

Loading…
Cancel
Save