else if (orientation == PlotOrientation.VERTICAL) {
line.setLine(transX0, transY0, transX1, transY1);
}
if (y1n instanceof RangeInfo) {
RangeInfo y1r = (RangeInfo) y1n;
double transY1low = rangeAxis.translateValueToJava2D
(y1r.getMinimumRangeValue().doubleValue(),
dataArea, yAxisLocation);
double transY1high = rangeAxis.translateValueToJava2D
(y1r.getMaximumRangeValue().doubleValue(),
dataArea, yAxisLocation);
drawRange(g2, line, paint, seriesStroke,
transX1, transY1low,
transX1, transY1high);
} else if (x1n instanceof RangeInfo) {
RangeInfo x1r = (RangeInfo) x1n;
double transX1low = domainAxis.translateValueToJava2D
(x1r.getMinimumRangeValue().doubleValue(),
dataArea, xAxisLocation);
double transX1high = domainAxis.translateValueToJava2D
(x1r.getMaximumRangeValue().doubleValue(),
dataArea, xAxisLocation);
drawRange(g2, line, paint, seriesStroke,
transX1low, transY1,
transX1high, transY1);