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

[#1362] Chart > ev-chart-group 내 ev-chart, ev-chart-brush를 element로 감쌀 시 에러 발생 #1363

Merged
merged 3 commits into from
Mar 3, 2023

Commits on Mar 2, 2023

  1. [#1362] Chart > ev-chart-group 내 ev-chart, ev-chart-brush를 element로 감…

    …쌀 시 발생하는 에러 수정
    
    ################################
    [원인]
     - ev-chart-group 내에 있는 ev-chart의 props(data, options)를 가지고 전체 줌과 ev-chart-brush에 사용해야 하는데 slot의 정보로 props(data, options)를 찾을 경우 element로 감쌀 시 children에 들어있거나 컴포넌트의 경우 null이어서 찾지 못하게 되고 에러가 발생하게 됨.
    
    [수정 내용]
     - ev-chart-group에 'evChartPropsInGroup' 반응형 변수를 두고 group 내부에 있는 ev-chart가 생성될 때 ev-chart의 props(data, options)를 evChartPropsInGroup에 넣어 slot 으로 값을 찾지 않고 변수에 담긴 값을 이용하여 그룹에서 줌을 사용 시 brush와 함께 전체적으로 동작하도록 수정.
    
    [확인 경로]
     Chart > BrushChart
    Mun94 committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    0b5eb1c View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2023

  1. [#1362] Chart > ev-chart-group 내 ev-chart, ev-chart-brush를 element로 감…

    …쌀 시 발생하는 에러 수정
    
    ################################
    [원인]
     - ev-chart-group 내에 있는 ev-chart의 props(data, options)를 가지고 전체 줌과 ev-chart-brush에 사용해야 하는데 slot의 정보로 props(data, options)를 찾을 경우 element로 감쌀 시 children에 들어있거나 컴포넌트의 경우 null이어서 찾지 못하게 되고 에러가 발생하게 됨.
    
    [수정 내용]
     - ev-chart-group에 'evChartPropsInGroup' 반응형 변수를 두고 group 내부에 있는 ev-chart가 생성될 때 ev-chart의 props(data, options)를 evChartPropsInGroup에 넣어 slot 으로 값을 찾지 않고 변수에 담긴 값을 이용하여 그룹에서 줌을 사용 시 brush와 함께 전체적으로 동작하도록 수정.
    
    [확인 경로]
     Chart > BrushChart
    Mun94 committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    b769ac8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b15b536 View commit details
    Browse the repository at this point in the history