From 2847c1cf1a2874e9fe56b5749e6e105e37bb086a Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Sun, 29 Nov 2009 17:04:03 -0500 Subject: [PATCH] fix rolling w/ missing data and no error bars. simplify logic --- dygraph-combined.js | 51 +++++++++++++++++-------------------------------- dygraph.js | 41 ++++++++++----------------------------- tests/missing-data.html | 5 ++++- 3 files changed, 31 insertions(+), 66 deletions(-) diff --git a/dygraph-combined.js b/dygraph-combined.js index 0768e24..5716ace 100644 --- a/dygraph-combined.js +++ b/dygraph-combined.js @@ -5570,57 +5570,40 @@ if(!this.attr_("errorBars")){ if(_193==1){ return _192; } -for(var i=0;i<_206;i++){ -var sum=0; -for(var j=0;j