// liveChart =new LiveChart(dsConfig.getDsTimeoutInterval(), min, max,
// dataSourceAxisInfo.getDataSourceAxisName(),
// dsConfig.getSeriesCount(),dataList);
switch (chartType) {
case HORIZONTAL_LINE:
liveChart = new DynamicLineChart(dsConfig.getSeriesCount(), min, max, dataList);
break;
case VERTICAL_BAR:
liveChart = new DynamicBarChart(dsConfig.getSeriesCount(), min, max, dataList);
break;
default:
liveChart = new DynamicLineChart(dsConfig.getSeriesCount(), min, max, dataList);
break;
}
return liveChart;
}