projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce a TWO_DAILY tick spacing
[dygraphs.git]
/
gallery
/
edge-padding.js
diff --git
a/gallery/edge-padding.js
b/gallery/edge-padding.js
index
deaa2fa
..
b60e37c
100644
(file)
--- a/
gallery/edge-padding.js
+++ b/
gallery/edge-padding.js
@@
-1,3
+1,4
@@
+/*global Gallery,Dygraph,data */
Gallery.register(
'edge-padding',
{
Gallery.register(
'edge-padding',
{
@@
-61,13
+62,15
@@
Gallery.register(
avoidMinZero: false,
xRangePad: 3,
yRangePad: 10,
avoidMinZero: false,
xRangePad: 3,
yRangePad: 10,
- drawAxesAtZero: true})};
+ drawAxesAtZero: true});
+ };
mode[1].onchange = function() {
updateGraphOpts({
avoidMinZero: true,
xRangePad: 0,
yRangePad: null,
mode[1].onchange = function() {
updateGraphOpts({
avoidMinZero: true,
xRangePad: 0,
yRangePad: null,
- drawAxesAtZero: false})};
+ drawAxesAtZero: false});
+ };
mode[0].checked = true;
mode[0].onchange();
mode[0].checked = true;
mode[0].onchange();