double nextItemX = calculateItemXPoint(series, nextItemIndex, dataArea, domainAxis, dataSet, plot);
double nextItemY = calculateItemYPoint(series, nextItemIndex, dataArea, rangeAxis, dataSet, plot);
double zeroRangePoint = rangeAxis.valueToJava2D(0.0, dataArea, plot.getRangeAxisEdge());
if (isAreaAndLinePass(pass)) {
XYLineFillItemRendererState rendererState = (XYLineFillItemRendererState) state;
renderLineArea(g2, info, plot, series, item, rendererState, dataSet,
currentItemX, currentItemY, previousItemX, previousItemY, zeroRangePoint);
} else if (isShapesAndLabelsPass(pass)) {
Shape entityArea = renderShapeAndLabel(g2, dataArea, plot, dataSet, series, item, itemYValue,
currentItemX, currentItemY, previousItemX, previousItemY, nextItemX, nextItemY, zeroRangePoint);