private Map<String, Object> getPerfGraphData(Long id, String[] dataTypes, boolean onlyTotal, int imgWidth) {
		final PerfTest test = perfTestService.getOne(id);
		int interval = perfTestService.getReportDataInterval(id, dataTypes[0], imgWidth);
		Map<String, Object> resultMap = Maps.newHashMap();
		for (String each : dataTypes) {
			Map<String, List<Float>> result = perfTestService.getReportData(id, each, onlyTotal, interval);
			resultMap.put(each, result);
		}
		resultMap.put(PARAM_TEST_CHART_INTERVAL, interval * test.getSamplingInterval());
		return resultMap;
	}
Get the detailed report graph data for the given perf test id.
This method returns the appropriate points based on the given imgWidth.

@param id       test id
@param dataType which data
@param imgWidth imageWidth
@return perf test result list.
ngrinder-controller/src/main/java/org/ngrinder/perftest/controller/PerfTestApiController.java