linear/log toggle with customBars now works perfectly
authorDan Vanderkam <dan@dygraphs.com>
Mon, 9 May 2011 17:25:10 +0000 (13:25 -0400)
committerDan Vanderkam <dan@dygraphs.com>
Mon, 9 May 2011 17:25:10 +0000 (13:25 -0400)
dygraph-canvas.js

index 471d9e4..c5eb835 100644 (file)
@@ -852,7 +852,7 @@ DygraphCanvasRenderer.prototype._renderLineChart = function() {
   // TODO(danvk): use this.attr_ for many of these.
   var context = this.elementContext;
   var fillAlpha = this.attr_('fillAlpha');
-  var errorBars = this.attr_("errorBars");
+  var errorBars = this.attr_("errorBars") || this.attr_("customBars");
   var fillGraph = this.attr_("fillGraph");
   var stackedGraph = this.attr_("stackedGraph");
   var stepPlot = this.attr_("stepPlot");