Series have to be updated when updateOptions are called. Otherwise series : null...
[dygraphs.git] / dygraph.js
index 3a8c862..32180cc 100644 (file)
@@ -3387,6 +3387,8 @@ Dygraph.prototype.updateOptions = function(input_attrs, block_redraw) {
 
   Dygraph.updateDeep(this.user_attrs_, attrs);
 
+  this.attributes_.reparseSeries();
+
   if (file) {
     this.file_ = file;
     if (!block_redraw) this.start_();