From f93488143c0538299d1b4973fc91f82c9f1ebee9 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Wed, 6 Oct 2010 10:18:55 -0400 Subject: [PATCH] numeric-gviz test works again --- dygraph.js | 1 + 1 file changed, 1 insertion(+) diff --git a/dygraph.js b/dygraph.js index 074776f..4cdc196 100644 --- a/dygraph.js +++ b/dygraph.js @@ -2157,6 +2157,7 @@ Dygraph.prototype.parseDataTable_ = function(data) { var labels = [data.getColumnLabel(0)]; for (var i = 0; i < colIdx.length; i++) { labels.push(data.getColumnLabel(colIdx[i])); + if (this.attr_("errorBars")) i += 1; } this.attrs_.labels = labels; cols = labels.length; -- 2.7.4