chartModel.setChartEngineId( chartEngine );
InputStream is = null;
try {
IChartLinkGenerator chartLinkGenerator =
contentLinkingTemplate == null ? null : new ChartLinkGenerator( contentLinkingTemplate );
IChartDataModel chartDataModel =
ChartBeanFactory.createChartDataModel( data, scalingFactor, convertNullsToZero, valueColumn, seriesColumn,
categoryColumn, chartModel );
IOutput output = ChartBeanFactory.createChart( chartModel, chartDataModel, chartLinkGenerator );