-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#1299] Chart > Indicator 인디케이터의 dataIndex가 0일 때 위치가 정확하지 않음
######################################### [원인] - gdata의 0, 1 인덱스 요소가 없을 때 xp 프로퍼티를 찾지 못하게 되고 타입에러가 발생하게 됨. [수정 내용] - gdata에 1개 이상 데이터 있을 경우 findGraphData 함수 내부 로직 실행. - gdata의 원소가 1개 뿐이여서 xp 간 간격을 계산 할 수 없을 경우 undefined - xp < 6 은 false로 기존 값인 6을 가지고 내부 로직이 실행 되도록 수정.
- Loading branch information
Showing
1 changed file
with
19 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters