}
ArrayList<String> axisLabels = dataSourceAxisInfo.getAxisLabels();
min = Integer.parseInt(axisLabels.get(0));
max = Integer.parseInt(axisLabels.get(axisLabels.size() - 1));
} catch (Exception e) {
throw new ChartSettingsNotValidException("The data Source Axis Setting is not valied for Live Chart, please contact your admin");
}
// liveChart =new LiveChart(dsConfig.getDsTimeoutInterval(), min, max,
// dataSourceAxisInfo.getDataSourceAxisName(),
// dsConfig.getSeriesCount(),dataList);
switch (chartType) {