@GetMapping(value = "/getResponseTimeHistogramData")
    public ApplicationTimeHistogramViewModel getResponseTimeHistogramData(
            @Valid @ModelAttribute
            ApplicationForm appForm,
            @Valid @ModelAttribute
            RangeForm rangeForm) {
        final Range range = toRange(rangeForm);
        TimeWindow timeWindow = new TimeWindow(range);

        final Application application = getApplication(appForm);

        AgentHistogramList responseTimes = responseTimeHistogramService.selectResponseTimeHistogramData(application, timeWindow);
        return new ApplicationTimeHistogramViewModel(TimeHistogramFormat.V1, application, responseTimes);
    }
@author emeroad
@author netspider
@author jaehong.kim
@author HyunGil Jeong
web/src/main/java/com/navercorp/pinpoint/web/applicationmap/controller/MapHistogramController.java