// RIGHT POLYGON
if (y2 >= 0.0) {
final double yright = (y1 + y2) / 2.0 + stackRight[1];
final float transYRight
= (float) rangeAxis.valueToJava2D(yright, dataArea, edge1);
right.moveTo((float) xx1, transStack1);
right.lineTo((float) xx1, transY1);
right.lineTo((float) xxRight, transYRight);
right.lineTo((float) xxRight, transStackRight);
right.closePath();
}