AxisSpace space2 = new AxisSpace();
space2 = this.colorBar.reserveSpace(
g2, this, area, estimatedDataArea, this.colorBarLocation,
space2
);
Rectangle2D adjustedPlotArea = space2.shrink(area, null);
Rectangle2D dataArea = space.shrink(adjustedPlotArea, null);
Rectangle2D colorBarArea = space2.reserved(
area, this.colorBarLocation