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

Feat/graph #7

Open
wants to merge 44 commits into
base: develop
Choose a base branch
from
Open

Feat/graph #7

wants to merge 44 commits into from

Conversation

Jetom88
Copy link
Collaborator

@Jetom88 Jetom88 commented Nov 10, 2024

๐Ÿ”Ž ๊ด€๋ จ ์ด์Šˆ

๊ทธ๋ž˜ํ”„์˜ ์„ ์ด ๊ทธ๋ผ๋””์–ธํŠธ๊ฐ€ ์•„๋‹Œ #D9D9D9 ์ƒ‰์ƒ์œผ๋กœ ๋‚˜์˜ค๋Š” ์ด์Šˆ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค!

๐Ÿ›  ์ž‘์—… ๋‚ด์šฉ

  • ์˜ˆ์ƒ ๋™์ž‘: ์Šคํฌ๋ฆฐ์ƒท์„ ์ฐธ๊ณ ํ•ด์ฃผ์„ธ์š”
  • ์‹ค์ œ ๋™์ž‘: ๋ชฉ์—… ๋ฐ์ดํ„ฐ์˜ ์ƒ‰์ƒ์— ๋งž๊ฒŒ ๊ทธ๋ผ๋””์–ธํŠธ๊ฐ€ ๋‚˜์™€์•ผํ•ฉ๋‹ˆ๋‹ค!
  • ์žฌํ˜„ ๋ฐฉ๋ฒ•: ํ•ด๋‹น ๋ธŒ๋žœ์น˜ pull ๋ฐ›๊ธฐ -> ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ install -> http://localhost:3000/graph๋กœ ์ ‘์†

๐Ÿ“Œ PR Point

๐Ÿ“ธ ์Šคํฌ๋ฆฐ์ƒท ๋˜๋Š” GIF(option)

์˜ˆ์ƒ ๋™์ž‘ ๋””์ž์ธ
image

์‹ค์ œ ๋™์ž‘ ๋””์ž์ธ
image

@f-lab-kevin
Copy link

ํ˜น์‹œ ์‚ฌ์šฉ์ค‘์ด์‹  ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์—์„œ ์„ ์„ ๊ทธ๋ผ๋””์–ธํŠธ๋กœ ํ‘œํ˜„ํ•ด์ฃผ๋Š” ๋‚ด์šฉ๋„ ์žˆ์—ˆ๋‚˜์š”?

@Jetom88
Copy link
Collaborator Author

Jetom88 commented Nov 11, 2024

ํ˜น์‹œ ์‚ฌ์šฉ์ค‘์ด์‹  ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์—์„œ ์„ ์„ ๊ทธ๋ผ๋””์–ธํŠธ๋กœ ํ‘œํ˜„ํ•ด์ฃผ๋Š” ๋‚ด์šฉ๋„ ์žˆ์—ˆ๋‚˜์š”?

https://www.chartjs.org/docs/latest/samples/advanced/linear-gradient.html
์•— ๋„ต! ์ด ๋งํฌ๋ฅผ ๋ดค๋Š”๋ฐ ใ… ใ…  ์ƒ๊ฐ๋ณด๋‹ค ๊ตฌํ˜„์ด ์–ด๋ ต๋„ค์š”

Copy link

@f-lab-kevin f-lab-kevin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๐Ÿ‘ ์กฐ๊ธˆ๋งŒ ๋” ์ˆ˜์ •ํ•ด๋ณด์‹œ์ฃ !

data: dataPoints,

// ์„ ์— ๊ด€ํ•œ ๋กœ์ง
borderColor: (context: ScriptableContext<"line">) => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ด๋Ÿฐ ํ•จ์ˆ˜๋กœ์ง๋“ค์€ ์™ ๋งŒํ•˜๋ฉด ๋ชจ๋“ˆํ™”์‹œ์ผœ ๋ถˆ๋Ÿฌ์˜ค๋Š” ๋ฐฉํ–ฅ์œผ๋กœ ์ˆ˜์ •ํ•ด๋ณด์‹œ์ฃ !

ChartJS.register(CategoryScale, LinearScale, PointElement, LineElement, Title, Tooltip, Legend, scales);
ChartJS.defaults.color = "#D9D9D9";

const bowelInfoDate = [

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์‚ฌ์šฉ๋  ๋”๋ฏธ๋ฐ์ดํ„ฐ๋ผ๋ฉด ๋ณ„๋„์˜ ํŒŒ์ผ๋กœ ๋ถ„๋ฅ˜ํ•ด๋ณด๋Š”๊ฑด ์–ด๋–จ๊นŒ์š”?

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
41.4% Duplication on New Code (required โ‰ค 3%)

See analysis details on SonarQube Cloud

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
D Reliability Rating on New Code (required โ‰ฅ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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