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
96f125c
..
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',
{
@@
-17,8
+18,8
@@
Gallery.register(
['#284785', '#EE1111', '#8AE234'],
['#444444', '#888888', '#DDDDDD'],
null
['#284785', '#EE1111', '#8AE234'],
['#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",