fix #8056 - more refinements to checking data
[g.raphael] / g.raphael.0.51.js
index 4be7739..a871140 100644 (file)
@@ -844,11 +844,10 @@ Raphael.g = {
                 dx = (length - (opts.loffset + opts.roffset)) / steps,
                 txt = 0,
                 prev = 0;
-
-            Roo.log('--------debug----------');
-        Roo.log(steps);
-        Roo.log(dx);
-        return;
+        
+            if(dx < 1){
+                dx = 1;
+            }
         
             while (X <= x + length) {
                 Roo.log('label ' + j + ":" + labels[j]);