projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix retina support on desktop browsers; add retina range selector
[dygraphs.git]
/
gallery
/
styled-chart-labels.js
diff --git
a/gallery/styled-chart-labels.js
b/gallery/styled-chart-labels.js
index
1248855
..
0268f6d
100644
(file)
--- a/
gallery/styled-chart-labels.js
+++ b/
gallery/styled-chart-labels.js
@@
-1,3
+1,4
@@
+/*global Gallery,Dygraph,data */
Gallery.register(
'styled-chart-labels',
{
Gallery.register(
'styled-chart-labels',
{
@@
-11,7
+12,7
@@
Gallery.register(
"<div class='chart' id='div_g2' style='width:600px; height:300px;'></div>"].join("\n");
},
run: function() {
"<div class='chart' id='div_g2' style='width:600px; height:300px;'></div>"].join("\n");
},
run: function() {
-
g =
new Dygraph(
+ new Dygraph(
document.getElementById("div_g"),
data, {
rollPeriod: 7,
document.getElementById("div_g"),
data, {
rollPeriod: 7,
@@
-28,7
+29,7
@@
Gallery.register(
}
);
}
);
-
g2 =
new Dygraph(
+ new Dygraph(
document.getElementById("div_g2"),
data, {
rollPeriod: 30,
document.getElementById("div_g2"),
data, {
rollPeriod: 30,