We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
라인 차트 API 조회(/api/dashboard/lineChart)시 데이터들 정렬이 적용되지 않았습니다. 차트 조회시 데이터들이 time을 기준으로 오름차순(오래된 날짜가 제일 앞에 위치)으로 정렬되어야 합니다.
return timeValueMap.keySet() .stream() .map(key -> DashboardLineChartResponse.of(key, timeValueMap.get(key))) .collect(Collectors.toList());
응답전에 time을 기준으로 정렬하여 응답합니다.
return timeValueMap.keySet() .stream() .sorted() .map(key -> DashboardLineChartResponse.of(key, timeValueMap.get(key))) .collect(Collectors.toList());
The text was updated successfully, but these errors were encountered:
#84 fix: 라인 차트 데이터 시간 순으로 정렬
6e04e62
#84 fix: 라인 차트 데이터 시간 순으로 정렬 (#86)
5816f76
yhpark95
Successfully merging a pull request may close this issue.
상황
라인 차트 API 조회(/api/dashboard/lineChart)시 데이터들 정렬이 적용되지 않았습니다. 차트 조회시 데이터들이 time을 기준으로 오름차순(오래된 날짜가 제일 앞에 위치)으로 정렬되어야 합니다.
원인
해결방법
응답전에 time을 기준으로 정렬하여 응답합니다.
The text was updated successfully, but these errors were encountered: