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

브라우저 축소시 backgroundColor 이슈 #804

Open
ljk4268 opened this issue Aug 4, 2023 · 0 comments
Open

브라우저 축소시 backgroundColor 이슈 #804

ljk4268 opened this issue Aug 4, 2023 · 0 comments

Comments

@ljk4268
Copy link

ljk4268 commented Aug 4, 2023

Describe the bug
A clear and concise description of what the bug is.

backgroundColor를 rgba로 넣으면
브라우저 축소하고 그래프 다시 그릴 때 그래프가 이상하게 그려집니다.

backgroundColor 헥사코드로 넣으면 문제없구요!

  1. backgroundColor를 rgba로 넣고
  2. 브라우저 축소한 채로(100%이하) 그래프 다시 그릴때
const lineChartTheme = {
      chart: {
        // backgroundColor: '#09ce73',
        backgroundColor: 'rgba(9, 206, 115, 0.1)',
      },
    };

스크린샷 2023-08-04 오전 11 16 04

  1. backgroundColor를 헥사코드로 넣고
  2. 브라우저 축소한 채로(100%이하) 그래프 다시 그릴때는 정상으로 그려집니다.
const lineChartTheme = {
      chart: {
        backgroundColor: '#09ce73',
        // backgroundColor: 'rgba(9, 206, 115, 0.1)',
      },
    };

스크린샷 2023-08-04 오전 11 26 09

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

No branches or pull requests

1 participant