Fix #6099 - issues with dashboards
[g.raphael] / g.raphael.js
index 3e24006..b68494c 100644 (file)
@@ -811,7 +811,7 @@ Raphael.g = {
             i = ends.power,
             j = 0,
             txtattr = { font: "11px Arial, sans-serif" },
-            text = paper.set(),
+            text =  paper.set(),
             d;
 
         d = (t - f) / steps;
@@ -858,6 +858,7 @@ Raphael.g = {
                 txt = 0,
                 prev = 0;
 
+            //Roo.log([X,x,length, dx]); return;
             while (X <= x + length) {
                 type != "-" && type != " " && (path = path.concat(["M", X + .5, y - (type == "+" ? dashsize : !!orientation * dashsize * 2), "l", 0, dashsize * 2 + 1]));
                 text.push(txt = paper.text(X, y + addon, (labels && labels[j++]) || (Math.round(label) == label ? label : +label.toFixed(rnd))).attr(txtattr));