* @throws ChartSettingsNotValidException
* the chart settings not valid exception
*/
private static ODBChart constructLiveChart(DataSourceConfiguration dsConfig, ArrayList<TimeSeriesDataVO> dataList, ChartType chartType) throws ChartSettingsNotValidException {
AxisInfo dataSourceAxisInfo = null;
ODBChart liveChart = null;
Integer min, max, minIndex, maxIndex;
try {
for (AxisInfo dsai : dsConfig.getXsInfo()) {
if ("Y".equals(dsai.getDataSourceAxisType())) {
dataSourceAxisInfo = dsai;