value = [value];
}
- // 10 pixels away from top of the chart
- // 10 pixels away from left of the chart
if(legendKeyShape == 'rect') {
// pass top left position for 'rect'
paper.rect(x + (i * (width - x) / len) + legendKeyOffsetX, y + legendKeyOffsetY, legendKeySize, legendKeySize, 0).attr({ fill: colors[i%colors.length], "stroke": "#fff" });
iy = y + opts.legendheight + 1 - ih - 20;
}
- paper.rect(ix , iy, iw, ih, 2).attr({ stroke: "none", fill: colors[i%colors.length] });
+ paper.rect(ix , iy, iw, ih, 4).attr({ stroke: "none", fill: colors[i%colors.length] });
paper.path(["M", ix + (iw - 10) / 2, iy + ih, "l", 5, 10, "l", 5, -10]).attr({ stroke: "none", fill: colors[i%colors.length] });
// align labels center
paper.text(ix + iw / 2, iy + ih / 2 - labelSize / 10, Roo.util.Format.number(v, 0)).attr({