Skip to content
New issue

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

[#988] [3.0] Chart > Legend 영역만 생기고 내부 Series 정보가 그려지지 않음 #993

Merged
merged 3 commits into from
Dec 28, 2021

Conversation

jhee564
Copy link
Collaborator

@jhee564 jhee564 commented Dec 28, 2021

이슈 내용

image

  • 재현 스텝

    1. Legend - show : false, groups: [] 상태의 차트 생성
    2. Legend show 값을 true로 변경했다가 다시 false로 원복
    3. stack 모드가 되도록 groups 의 값을 변경했다가 다시 원복
    4. Legend show 값을 true로 설정
  • 결과

    • 4번 이후 나타나는 legend영역에 sereis정보가 안보였었지만 보여지도록 로직 수정함

수정내용

  • 차트의 Series 혹은 groups가 업데이트 될 때 legend영역을 update(reset + init) 해야 하는데 reset(series 정보 제거) 하는 로직만 있어 수정함

##############################
1. isUpdateSeries에는 data 전체 변경여부가 아닌 Series 정보를 다시 계산하고 Legend 영역을 다시 그려야 하는 일에만 true로 들어가야함
##############################
1. 함수 호출 다르게 되어 있던 부분 정정
@kdeun1 kdeun1 merged commit e6b76ec into 3.0 Dec 28, 2021
@kdeun1 kdeun1 deleted the 988_3.0_chart_legend_issue branch December 28, 2021 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants