support changing renderer options like strokeWidth and add a test
[dygraphs.git] / dygraph.js
index 34a387a..f5e7d38 100644 (file)
@@ -2198,6 +2198,7 @@ Dygraph.prototype.updateOptions = function(attrs) {
     this.valueRange_ = attrs.valueRange;
   }
   Dygraph.update(this.user_attrs_, attrs);
+  Dygraph.update(this.renderOptions_, attrs);
 
   this.labelsFromCSV_ = (this.attr_("labels") == null);