projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix some tests & gallery entries
[dygraphs.git]
/
gallery
/
drawing.js
diff --git
a/gallery/drawing.js
b/gallery/drawing.js
index
c664650
..
d4da18d
100644
(file)
--- a/
gallery/drawing.js
+++ b/
gallery/drawing.js
@@
-174,13
+174,19
@@
Gallery.register(
g.updateOptions({
dateWindow: dateWindow
});
g.updateOptions({
dateWindow: dateWindow
});
-
Dygraph.cancelEvent(event
);
+
event.preventDefault(
);
}
},
strokeWidth: 1.5,
gridLineColor: 'rgb(196, 196, 196)',
}
},
strokeWidth: 1.5,
gridLineColor: 'rgb(196, 196, 196)',
- drawYGrid: false,
- drawYAxis: false
+ axes: {
+ x: {
+ drawAxis: false
+ },
+ y: {
+ drawGrid: false
+ }
+ }
});
window.onmouseup = finishDraw;
}
});
window.onmouseup = finishDraw;
}