[FE] 차트 확대 축소 기능 추가 & 이동 평균선 NaN 오류 해결 & Top5 localeScale 적용 #235
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
✅ 주요 작업
2024-12-02.11.23.46.mov
💭 고민과 해결과정
확대와 축소 기능을 위해 추가적으로 표시할 데이터를 인덱스를 기준으로
start
와end
로 나누는 useState 객체를 추가했다. 해당 객체를 이용해 사용자 마우스 휠업과 휠 다운 이벤트에 맞게start
를 다르게 만들어 확대 기능을 구현했다.📊 FE/BE 전체 작업 내역