g.bar.js
authorAlan Knowles <alan@roojs.com>
Tue, 21 Oct 2014 04:23:25 +0000 (12:23 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 21 Oct 2014 04:23:25 +0000 (12:23 +0800)
g.bar.js

index b066e85..bbad1d4 100644 (file)
--- a/g.bar.js
+++ b/g.bar.js
                     top = y + height - barvgutter - h,
                     bar = finger(Math.round(X + barwidth / 2), top + h, barwidth, h, true, type, null, paper).attr({ stroke: "none", fill: colors[multi ? j : i] });
 //                    bar = finger(x, Y + barwidth / 2, Math.round(8 * X), barwidth - 1, false, type, null, paper).attr({stroke: "none", fill: colors[multi ? j : i]});
-                if (multi && bars[j]) { // bars[j] did not appear to exist?
-                    bars[j].push(bar);
-                } else {
+                //if (multi && bars[j]) { // bars[j] did not appear to exist?
+                //    bars[j].push(bar);
+                ///} else {
                     bars.push(bar);
-                }
+                //}
                 
                 bar.y = top;
                 bar.x = Math.round(X + barwidth / 2);