fix #8056 - more refinements to checking data
[g.raphael] / g.bar.0.51.js
index 3f0876c..726c8a1 100644 (file)
@@ -227,7 +227,6 @@ if (typeof(Raphael) == 'undefined') {
         }
         opts.axis = opts.axis || "";
         
-        
         var allx = Array.prototype.concat.apply([], opts.xvalues),
             ally = Array.prototype.concat.apply([], opts.yvalues),
             
@@ -475,7 +474,7 @@ if (typeof(Raphael) == 'undefined') {
             // each bar is 
             
             var ax_args = {
-                    x : x +  20 ,
+                    x : x +  axwidth_l ,
                     y: y + height - gutter,
                     length : X  - x, // total width
                     from: minx ,  // from -- infinity??? if no 'xvalues set'