.getBottomUnitWidth());
if (chartWidth<getWidth()) {
chartWidth = getWidth();
}
int chartHeight = taskImage.getHeight(null);
return new RenderedGanttChartImage(myChartModel, myChartComponentImpl, GanttTree2.convertNodesListToItemList(myItemsToConsider), taskImage, chartWidth, chartHeight);
}