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

Conversation

Mun94
Copy link
Collaborator

@Mun94 Mun94 commented Mar 2, 2023

Click Up: https://app.clickup.com/t/25540965/DEV-8567
################################
[원인]

  • 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

…쌀 시 발생하는 에러 수정

################################
[원인]
 - 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
…쌀 시 발생하는 에러 수정

################################
[원인]
 - 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
@kdeun1 kdeun1 merged commit d55bb2c into 3.0 Mar 3, 2023
@kdeun1 kdeun1 deleted the 1362_find_chart_props branch March 3, 2023 03:08
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