Series have to be updated when updateOptions are called. Otherwise series : null...
authorRobert Konigsberg <konigsberg@google.com>
Thu, 22 Nov 2012 19:02:53 +0000 (14:02 -0500)
committerRobert Konigsberg <konigsberg@google.com>
Thu, 22 Nov 2012 19:02:53 +0000 (14:02 -0500)
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_();