projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #660 from danvk/sync-block-redraw
[dygraphs.git]
/
gallery
/
negative.js
diff --git
a/gallery/negative.js
b/gallery/negative.js
index
c2b561c
..
c6eb681
100644
(file)
--- a/
gallery/negative.js
+++ b/
gallery/negative.js
@@
-1,3
+1,4
@@
+/*global Gallery,Dygraph,data */
Gallery.register(
'negative',
{
Gallery.register(
'negative',
{
@@
-23,17
+24,17
@@
Gallery.register(
pos.push([i, 1000 + 2 * i, 1100 + i]);
}
pos.push([i, 1000 + 2 * i, 1100 + i]);
}
-
var g1 =
new Dygraph(
+ new Dygraph(
document.getElementById("g1"),
negs, { labels: [ 'x', 'y1', 'y2' ] }
);
document.getElementById("g1"),
negs, { labels: [ 'x', 'y1', 'y2' ] }
);
-
var g2 =
new Dygraph(
+ new Dygraph(
document.getElementById("g2"),
mixed, { labels: [ 'x', 'y1', 'y2' ] }
);
document.getElementById("g2"),
mixed, { labels: [ 'x', 'y1', 'y2' ] }
);
-
var g3 =
new Dygraph(
+ new Dygraph(
document.getElementById("g3"),
pos, { labels: [ 'x', 'y1', 'y2' ] }
);
document.getElementById("g3"),
pos, { labels: [ 'x', 'y1', 'y2' ] }
);