g.line.js
authoredward <edward@roojs.com>
Tue, 19 Jun 2018 10:55:18 +0000 (18:55 +0800)
committeredward <edward@roojs.com>
Tue, 19 Jun 2018 10:55:18 +0000 (18:55 +0800)
g.line.js

index b680139..00a8853 100644 (file)
--- a/g.line.js
+++ b/g.line.js
@@ -165,7 +165,7 @@ if (typeof(Raphael) == 'undefined') {
             var ax_args = {
                     x : x + gutter,
                     y: y + height - gutter,
-                    length : width, // total width
+                    length : width - 2 * gutter, // total width
                     from: minx ,  // from -- infinity??? if no 'xvalues set'
                     to : maxx, //to
                     steps : opts.axisxstep , // 9 when we have 8 items?