diff --git a/jquery.flot.js b/jquery.flot.js index b468532..482d094 100644 --- a/jquery.flot.js +++ b/jquery.flot.js @@ -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++) {