Skip to content
Browse files

I know the difference between horiz and vert.

  • Loading branch information...
1 parent f347461 commit 94c74aaadab15d4ace00532cb8898f2c5979fa1d Matt Farmer committed Apr 4, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 g.line.js
View
8 g.line.js
@@ -111,11 +111,11 @@
var axis = paper.set();
if (opts.grid) {
- if (opts.grid.horizontal)
- chartinst.grid(x+gutter, y+height-gutter, height, width, axisystep, 1, opts.grid.horizontalcolor, paper);
-
if (opts.grid.vertical)
- chartinst.grid(x+gutter, y-gutter, width, height, axisxstep, 0, opts.grid.verticalcolor, paper);
+ chartinst.grid(x+gutter, y+height-gutter, height, width, axisystep, 1, opts.grid.verticalcolor, paper);
+
+ if (opts.grid.horizontal)
+ chartinst.grid(x+gutter, y-gutter, width, height, axisxstep, 0, opts.grid.horizontalcolor, paper);
}
if (opts.axis) {

0 comments on commit 94c74aa

Please sign in to comment.
Something went wrong with that request. Please try again.