}
};
BufferedImage resourceTreeImage = resourceTreeGenerator.createImage();
final int chartHeight = resourceTreeImage.getHeight();
RenderedResourceChartImage renderedImage = new RenderedResourceChartImage(myChartModel, myChartImplementation, resourceTreeImage, chartWidth, chartHeight);
return renderedImage;
}