this.link = link;
}
public JRDesignChart transform(DynamicJasperDesign design, String name, JRDesignGroup group, JRDesignGroup parentGroup, Map vars, int width) {
JRDesignChart chart = new JRDesignChart(new JRDesignStyle().getDefaultStyleProvider(), chartType);
JRDesignChartDataset chartDataset = dataset.transform(design, name, group, parentGroup, vars);
chart.setDataset(chartDataset);
plot.transform(design, chart.getPlot(), name);
getOptions().transform(design, name, chart, width);
if (group.equals(parentGroup))