jrGroupChart = (JRDesignGroup) BeanUtils.cloneBean(parentGroup);
jrGroupChart.setGroupFooter( new JRDesignBand());
jrGroupChart.setGroupHeader( new JRDesignBand());
jrGroupChart.setName(jrGroupChart.getName()+"_Chart" + getReport().getCharts().indexOf(djChart));
} catch (Exception e) {
throw new DJException("Problem creating band for chart: " + e.getMessage(),e);
}
//Charts should be added in its own band (to ensure page break, etc)
//To achieve that, we create a group and insert it right before to the criteria group.
//I need to find parent group of the criteria group, clone and insert after.