projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
for..in -> normal for loop
[dygraphs.git]
/
gallery
/
color-cycle.js
diff --git
a/gallery/color-cycle.js
b/gallery/color-cycle.js
index
a625d7c
..
b1c0993
100644
(file)
--- a/
gallery/color-cycle.js
+++ b/
gallery/color-cycle.js
@@
-1,3
+1,4
@@
+/*global Gallery,Dygraph,data */
Gallery.register(
'color-cycle',
{
Gallery.register(
'color-cycle',
{
@@
-18,7
+19,7
@@
Gallery.register(
['#444444', '#888888', '#DDDDDD'],
null
];
['#444444', '#888888', '#DDDDDD'],
null
];
- chart = new Dygraph(document.getElementById("blah"),
+
var
chart = new Dygraph(document.getElementById("blah"),
"X,a,b,c\n" +
"10,12345,23456,34567\n" +
"11,12345,20123,31345\n",
"X,a,b,c\n" +
"10,12345,23456,34567\n" +
"11,12345,20123,31345\n",