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

[Feature] word cloud #72

Merged
merged 4 commits into from
Aug 16, 2024
Merged

[Feature] word cloud #72

merged 4 commits into from
Aug 16, 2024

Conversation

leve68
Copy link
Member

@leve68 leve68 commented Aug 15, 2024

🎯 이슈 번호

πŸ’‘ μž‘μ—… λ‚΄μš©

  • μ›Œλ“œ ν΄λΌμš°λ“œ 라이브러리 μ„€μΉ˜
  • μ›Œλ“œ ν΄λΌμš°λ“œ
  • footer

πŸ’‘ μžμ„Έν•œ μ„€λͺ…

2024-08-15.4.48.35.mov

echarts-wordcloud

  • 예제 μ°Έκ³  : Github
  • 이미지 ν˜•νƒœκ°€ λ§žμ§€ μ•Šμ•„ 흰색 배경을 μΆ”κ°€ν•΄μ€Œ
maskImg.onload = function () {
      const option = {
        series: [
          {
            type: "wordCloud",
            gridSize: 8,
            sizeRange: [16, 120],
            rotationRange: [0, 0],
            shape: "circle",
            maskImage: maskImg,
            textStyle: {
              fontFamily: "Kia-Signature-Regular",
              color: function () {
                const colors = ["#4B7C83", "#4C7DC4", "#C9C9C9"];
                return colors[Math.floor(Math.random() * colors.length)];
              },
            },
            data: data,
          },
        ],
      };
  • option 을 μ„€μ •ν•  λ•Œ onload λ₯Ό μΆ”κ°€ν•΄ 이미지λ₯Ό 찾지 λͺ»ν•œ μƒνƒœμ—μ„œ λžœλ”λ§μ„ μ‹œλ„ν•΄ λžœλ”λ§μ΄ λ˜μ§€ μ•Šλ˜ 문제 ν•΄κ²°
  • λ””μžμΈμ—λŠ” 0, 90 λ„λ‘œ κΈ€μžλ“€μ΄ λ°°μΉ˜λ˜μ–΄ μžˆμ§€λ§Œ 라이브러리 ꡬ쑰상 0, 90 으둜 섀정이 λΆˆκ°€λŠ₯
    • 0, 90 μ„€μ • μ‹œ 45도 κ°λ„λ‘œλ„ κΈ€μžκ°€ λŒμ•„κ°€κ²Œ λ˜μ–΄ 있음

πŸ“— μ°Έκ³  자료 (선택)

πŸ“’ 리뷰 μš”κ΅¬ 사항 (선택)

🚩 후속 μž‘μ—… (선택)

βœ… μ…€ν”„ 체크리슀트

  • PR 제λͺ©μ„ ν˜•μ‹μ— 맞게 μž‘μ„±ν–ˆλ‚˜μš”?
  • 브랜치 μ „λž΅μ— λ§žλŠ” λΈŒλžœμΉ˜μ— PR을 올리고 μžˆλ‚˜μš”? (master/main이 μ•„λ‹™λ‹ˆλ‹€.)
  • Reviewers, Labels, Projectsλ₯Ό λ“±λ‘ν–ˆλ‚˜μš”?
  • μž‘μ—… 도쀑 λ¬Έμ„œ μˆ˜μ •μ΄ ν•„μš”ν•œ 경우 잘 μˆ˜μ •ν–ˆλ‚˜μš”?
  • ν…ŒμŠ€νŠΈλŠ” 잘 ν†΅κ³Όν–ˆλ‚˜μš”?
  • λΆˆν•„μš”ν•œ μ½”λ“œλŠ” μ œκ±°ν–ˆλ‚˜μš”?

@leve68 leve68 added the ✨ Feature new feature label Aug 15, 2024
@leve68 leve68 requested a review from jw0097 August 15, 2024 08:01
@leve68 leve68 self-assigned this Aug 15, 2024
@leve68 leve68 merged commit 17f256a into develop Aug 16, 2024
1 check failed
@leve68 leve68 deleted the feature/word-cloud branch August 16, 2024 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant