try {
filterCommands(model, payload.isShowActivity());
LineChart lineChart = m_appGraphCreator.buildLineChart(linechartEntity1, linechartEntity2, type);
List<AppDataSpreadInfo> appDataSpreadInfos = m_appDataService.buildAppDataSpreadInfo(linechartEntity1, field);
Collections.sort(appDataSpreadInfos, new Sorter(sortBy).buildLineChartInfoComparator());
model.setLineChart(lineChart);
model.setAppDataSpreadInfos(appDataSpreadInfos);
return new Pair<LineChart, List<AppDataSpreadInfo>>(lineChart, appDataSpreadInfos);
} catch (Exception e) {