g.raphael.js
authorAlan Knowles <alan@roojs.com>
Thu, 6 Dec 2012 10:10:06 +0000 (18:10 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 6 Dec 2012 10:10:06 +0000 (18:10 +0800)
g.raphael.js

index 23a1260..b53b429 100644 (file)
@@ -833,7 +833,7 @@ Raphael.g = {
                         x + addon,
                         Y,
                         (labels && labels[j++]) || (
-                            Math.round(label) == label ? Roo.util.Format.number(label) : Roo.util.Format.number(label,rnd)
+                            Math.round(label) == label ? Roo.util.Format.number(label,0) : Roo.util.Format.number(label,rnd)
                         )
                     ).attr(txtattr).attr({
                         "text-anchor": orientation - 1 ? "start" : "end"