dataDefinition = new TimeSeriesCollectionChartDefinition( data, byRow, chartAttributes, getSession() );
}
} else if ( ChartDefinition.PIE_CHART_STR.equalsIgnoreCase( chartType ) ) {
dataDefinition = new PieDatasetChartDefinition( data, byRow, chartAttributes, getSession() );
} else if ( ChartDefinition.DIAL_CHART_STR.equalsIgnoreCase( chartType ) ) {
dataDefinition = new DialWidgetDefinition( data, byRow, chartAttributes, width, height, getSession() );
} else if ( ChartDefinition.BAR_LINE_CHART_STR.equalsIgnoreCase( chartType ) ) {
dataDefinition = new BarLineChartDefinition( data, byRow, chartAttributes, getSession() );
} else if ( ChartDefinition.BUBBLE_CHART_STR.equalsIgnoreCase( chartType ) ) {
dataDefinition = new XYZSeriesCollectionChartDefinition( data, byRow, chartAttributes, getSession() );
} else {