projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0d64e59
)
draw secondary axis line
author
Dan Vanderkam
<danvdk@gmail.com>
Mon, 18 Oct 2010 18:50:11 +0000
(14:50 -0400)
committer
Dan Vanderkam
<danvdk@gmail.com>
Mon, 18 Oct 2010 18:50:11 +0000
(14:50 -0400)
dygraph-canvas.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph-canvas.js
b/dygraph-canvas.js
index
76f0b44
..
6a7ba5f
100644
(file)
--- a/
dygraph-canvas.js
+++ b/
dygraph-canvas.js
@@
-521,6
+521,14
@@
DygraphCanvasRenderer.prototype._renderAxis = function() {
context.lineTo(this.area.x, this.area.y + this.area.h);
context.closePath();
context.stroke();
context.lineTo(this.area.x, this.area.y + this.area.h);
context.closePath();
context.stroke();
+
+ if (this.dygraph_.numAxes() == 2) {
+ context.beginPath();
+ context.moveTo(this.area.x + this.area.w, this.area.y);
+ context.lineTo(this.area.x + this.area.w, this.area.y + this.area.h);
+ context.closePath();
+ context.stroke();
+ }
}
if (this.options.drawXAxis) {
}
if (this.options.drawXAxis) {