projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Speed up filled charts by down-sampling.
[dygraphs.git]
/
gallery
/
resize.js
diff --git
a/gallery/resize.js
b/gallery/resize.js
index
c11d529
..
3ebc379
100644
(file)
--- a/
gallery/resize.js
+++ b/
gallery/resize.js
@@
-1,3
+1,5
@@
+/*global Gallery,Dygraph,data */
+/*global NoisyData */
Gallery.register(
'resize',
{
Gallery.register(
'resize',
{
@@
-7,7
+9,7
@@
Gallery.register(
parent.innerHTML = "<div id='div_g'>";
},
run: function() {
parent.innerHTML = "<div id='div_g'>";
},
run: function() {
-
g =
new Dygraph(
+ new Dygraph(
document.getElementById("div_g"),
NoisyData, {
rollPeriod: 7,
document.getElementById("div_g"),
NoisyData, {
rollPeriod: 7,