["M", x + .5, y, "l", 0, -length] :
["M", x, y + .5, "l", length, 0],
ends = this.snapEnds(from, to, steps),
-
f = ends.from,
t = ends.to,
i = ends.power,
txtattr = { font: "11px 'Fontin Sans', Fontin-Sans, sans-serif" },
text = paper.set(),
d;
- Roo.log('running here');
-Roo.log(ends);
-return;
+
d = (t - f) / steps;
var label = f,
dx = (length - (opts.loffset + opts.roffset)) / steps,
txt = 0,
prev = 0;
-
+
+ if(dx < 1){
+ dx = 1;
+ }
+
while (X <= x + length) {
Roo.log('label ' + j + ":" + labels[j]);
+
if (typeof(labels[j]) == 'undefined') {
+ label += d;
+ X += dx;
continue;
}
// add the line