From: Dan Vanderkam Date: Wed, 6 Oct 2010 14:18:55 +0000 (-0400) Subject: numeric-gviz test works again X-Git-Tag: v1.0.0~642 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=f93488143c0538299d1b4973fc91f82c9f1ebee9;p=dygraphs.git numeric-gviz test works again --- 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;