From b635457c9bf0e7606b6ce209d7bf722b4dee012a Mon Sep 17 00:00:00 2001 From: Robert Konigsberg Date: Thu, 22 Nov 2012 14:02:53 -0500 Subject: [PATCH] Series have to be updated when updateOptions are called. Otherwise series : null won't make a difference. --- dygraph.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dygraph.js b/dygraph.js index 3a8c862..32180cc 100644 --- a/dygraph.js +++ b/dygraph.js @@ -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_(); -- 2.7.4