From: Robert Konigsberg Date: Thu, 22 Nov 2012 19:02:53 +0000 (-0500) Subject: Series have to be updated when updateOptions are called. Otherwise series : null... X-Git-Tag: v1.0.0~157^2~8 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=b635457c9bf0e7606b6ce209d7bf722b4dee012a;p=dygraphs.git Series have to be updated when updateOptions are called. Otherwise series : null won't make a difference. --- 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_();