{"id":39006,"date":"2024-11-02T02:36:17","date_gmt":"2024-11-02T02:36:17","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=39006"},"modified":"2024-11-26T06:42:40","modified_gmt":"2024-11-26T06:42:40","slug":"%ec%b0%a8%ed%8a%b8%ec%99%80-%ea%b7%b8%eb%9e%98%ed%94%84-%ea%b5%ac%ed%98%84%ed%95%98%ea%b8%b0-chart-js%ec%99%80-react-chartjs%eb%a1%9c-%eb%8d%b0%ec%9d%b4%ed%84%b0-%ec%8b%9c%ea%b0%81%ed%99%94","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/39006\/","title":{"rendered":"\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, Chart.js\uc640 React ChartJS\ub85c \ub370\uc774\ud130 \uc2dc\uac01\ud654"},"content":{"rendered":"<p><body><\/p>\n<article>\n<header>\n<\/header>\n<section>\n<h2>\uc18c\uac1c<\/h2>\n<p>\n                \ub370\uc774\ud130 \uc2dc\uac01\ud654\ub294 \ud604\ub300 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. \ud2b9\ud788, \uc0ac\uc6a9\uc790\uc5d0\uac8c \uc815\ubcf4\ub97c \ud6a8\uacfc\uc801\uc73c\ub85c \uc804\ub2ec\ud558\uace0, \ub370\uc774\ud130\uc758 \ud328\ud134\uc744 \uc27d\uac8c \ud30c\uc545\ud560 \uc218 \uc788\uac8c \ud569\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 React \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c <strong>Chart.js<\/strong>\uc640 <strong>React ChartJS 2<\/strong>\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucc28\ud2b8\uc640 \uadf8\ub798\ud504\ub97c \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \ub2e8\uacc4\ubcc4\ub85c \uc124\uba85\ud569\ub2c8\ub2e4.\n            <\/p>\n<p>\n                Chart.js\ub294 \uac04\ub2e8\ud55c API\uc640 \ub2e4\uc591\ud55c \ucc28\ud2b8 \uc720\ud615\uc744 \uc81c\uacf5\ud558\uc5ec \uac1c\ubc1c\uc790\ub4e4\uc774 \uc9c1\uad00\uc801\uc73c\ub85c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d \ub9cc\ub4e4\uc5b4\uc9c4 \uc624\ud508 \uc18c\uc2a4 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4. React ChartJS 2\ub294 Chart.js\ub97c React\uc5d0 \ud1b5\ud569\ud558\uae30 \uc704\ud574 \ub9cc\ub4e4\uc5b4\uc9c4 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub85c, React \ucef4\ud3ec\ub10c\ud2b8 \ud615\ud0dc\ub85c \ucc28\ud2b8\ub97c \uc0dd\uc131\ud558\ub294 \ub370 \ucd5c\uc801\ud654\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4.\n            <\/p>\n<\/section>\n<section>\n<h2>1. Chart.js\ub780?<\/h2>\n<p>\n                Chart.js\ub294 HTML5 \uce94\ubc84\uc2a4\ub97c \uc774\uc6a9\ud558\uc5ec \ub2e4\uc591\ud55c \uc885\ub958\uc758 \ucc28\ud2b8\ub97c \uadf8\ub9b4 \uc218 \uc788\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4. \ubc14 \ucc28\ud2b8, \uc120 \ucc28\ud2b8, \uc6d0\ud615 \ucc28\ud2b8 \ub4f1 \ub2e4\uc591\ud55c \uc635\uc158\uc774 \uc81c\uacf5\ub418\uc5b4 \ub370\uc774\ud130\uc758 \ud2b9\uc131\uc5d0 \ub9de\ub294 \ucc28\ud2b8\ub97c \uc120\ud0dd\ud574 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub610\ud55c, \ubc18\uc751\ud615 \uc6f9 \ub514\uc790\uc778\uc744 \uc9c0\uc6d0\ud558\uc5ec \ubaa8\ubc14\uc77c\uc5d0\uc11c\ub3c4 \ud6a8\uacfc\uc801\uc73c\ub85c \ud45c\ud604\ub429\ub2c8\ub2e4.\n            <\/p>\n<p>\n                \ub2e4\uc591\ud55c \ucc28\ud2b8 \uc720\ud615\uacfc \ucee4\uc2a4\ud130\ub9c8\uc774\uc9d5 \uae30\ub2a5 \ub355\ubd84\uc5d0 \ub370\uc774\ud130 \ubd84\uc11d, \ud1b5\uacc4, \ube44\uc988\ub2c8\uc2a4 \uc778\uc0ac\uc774\ud2b8\ub97c \uc2dc\uac01\uc801\uc73c\ub85c \ud45c\ud604\ud558\ub294 \ub370 \ub9ce\uc740 \uc0ac\ub791\uc744 \ubc1b\uace0 \uc788\uc2b5\ub2c8\ub2e4.\n            <\/p>\n<\/section>\n<section>\n<h2>2. React ChartJS 2\ub780?<\/h2>\n<p>\n                React ChartJS 2\ub294 Chart.js\ub97c React\uc5d0 \uc27d\uac8c \ud1b5\ud569\ud558\uae30 \uc704\ud55c \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4. \uc774 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc0ac\uc6a9\ud558\uba74 React \ucef4\ud3ec\ub10c\ud2b8\ucc98\ub7fc \ucc28\ud2b8\ub97c \uad00\ub9ac\ud560 \uc218 \uc788\uc5b4, \uc0c1\ud0dc \uad00\ub9ac \ubc0f \uc0dd\uba85 \uc8fc\uae30 \uba54\uc11c\ub4dc\ub97c \ud65c\uc6a9\ud558\uc5ec \ucc28\ud2b8\ub97c \uc27d\uac8c \uc5c5\ub370\uc774\ud2b8\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n            <\/p>\n<\/section>\n<section>\n<h2>3. \uc124\uce58 \ubc0f \uae30\ubcf8 \uc124\uc815<\/h2>\n<p>\n                \uba3c\uc800, Chart.js\uc640 React ChartJS 2\ub97c \uc124\uce58\ud569\ub2c8\ub2e4. \uc544\ub798\uc758 \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec npm\uc744 \ud1b5\ud574 \uc124\uce58\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:\n            <\/p>\n<pre>\n                <code>npm install chart.js react-chartjs-2<\/code>\n            <\/pre>\n<h3>3.1. \ud504\ub85c\uc81d\ud2b8 \uc0dd\uc131<\/h3>\n<p>\n                React \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc0dd\uc131\ud558\uae30 \uc704\ud574 create-react-app\uc744 \uc0ac\uc6a9\ud569\ub2c8\ub2e4. \uc544\ub798 \uba85\ub839\uc5b4\ub85c \uc0c8 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4:\n            <\/p>\n<pre>\n                <code>npx create-react-app my-chart-app<\/code>\n            <\/pre>\n<p>\n                \uc0dd\uc131\ub41c \ub514\ub809\ud1a0\ub9ac\ub85c \uc774\ub3d9\ud55c \ud6c4, Chart.js\uc640 React ChartJS 2\ub97c \uc124\uce58\ud569\ub2c8\ub2e4.\n            <\/p>\n<pre>\n                <code>cd my-chart-app\n                npm install chart.js react-chartjs-2<\/code>\n            <\/pre>\n<\/section>\n<section>\n<h2>4. \uae30\ubcf8\uc801\uc778 \ucc28\ud2b8 \uad6c\ud604\ud558\uae30<\/h2>\n<p>\n                \uc774\uc81c \uac04\ub2e8\ud55c \uc120 \ucc28\ud2b8\ub97c \uad6c\ud604\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uba3c\uc800, <code>src\/App.js<\/code> \ud30c\uc77c\uc744 \uc5f4\uace0 \uc544\ub798\uc758 \ucf54\ub4dc\ub97c \ucd94\uac00\ud569\ub2c8\ub2e4.\n            <\/p>\n<pre>\n                <code>\nimport React from 'react';\nimport { Line } from 'react-chartjs-2';\n\nfunction App() {\n    const data = {\n        labels: ['1\uc6d4', '2\uc6d4', '3\uc6d4', '4\uc6d4', '5\uc6d4', '6\uc6d4'],\n        datasets: [\n            {\n                label: '\ud310\ub9e4\ub7c9',\n                data: [65, 59, 80, 81, 56, 55],\n                backgroundColor: 'rgba(75,192,192,0.4)',\n                borderColor: 'rgba(75,192,192,1)',\n                borderWidth: 2,\n            },\n        ],\n    };\n\n    return (\n        <div>\n            <h2>\ud310\ub9e4\ub7c9 \uc120 \ucc28\ud2b8<\/h2>\n            <line data=\"{data}\"><\/line>\n        <\/div>\n    );\n}\n\nexport default App;\n                <\/code>\n            <\/pre>\n<p>\n                \uc704\uc758 \ucf54\ub4dc\uc5d0\uc11c\ub294 \uac04\ub2e8\ud55c \uc120 \ucc28\ud2b8\ub97c \uc0dd\uc131\ud588\uc2b5\ub2c8\ub2e4. <code>labels<\/code>\uc5d0\ub294 \ucc28\ud2b8\uc758 x\ucd95 \ub808\uc774\ube14(\uc5ec\uae30\uc11c\ub294 \uc6d4), <code>datasets<\/code>\uc5d0\ub294 \uc2e4\uc81c \ub370\uc774\ud130\uc640 \ucc28\ud2b8\uc758 \uc18d\uc131\ub4e4\uc744 \uc815\uc758\ud569\ub2c8\ub2e4. \uc774\uc81c \uc774 \ud504\ub85c\uadf8\ub7a8\uc744 \uc2e4\ud589\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.\n            <\/p>\n<pre>\n                <code>npm start<\/code>\n            <\/pre>\n<p>\n                \uc6f9 \ube0c\ub77c\uc6b0\uc800\ub97c \uc5f4\uace0 <code>http:\/\/localhost:3000<\/code>\uc73c\ub85c \uc774\ub3d9\ud558\uba74 \uc120 \ucc28\ud2b8\ub97c \ubcfc \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n            <\/p>\n<\/section>\n<section>\n<h2>5. \ub2e4\uc591\ud55c \ucc28\ud2b8 \uc720\ud615\uacfc \ub370\uc774\ud130<\/h2>\n<p>\n                Chart.js\ub294 \ub2e4\uc591\ud55c \ucc28\ud2b8 \uc720\ud615\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc544\ub798\ub294 \uc6d0\ud615 \ucc28\ud2b8\ub97c \ucd94\uac00\ud558\ub294 \ubc29\ubc95\uc785\ub2c8\ub2e4.\n            <\/p>\n<pre>\n                <code>\nimport React from 'react';\nimport { Doughnut } from 'react-chartjs-2';\n\nfunction App() {\n    const data = {\n        labels: ['\uc2a4\ud3ec\uce20', '\uc74c\uc545', '\uac8c\uc784', '\uc5ec\ud589'],\n        datasets: [\n            {\n                label: '\ucde8\ubbf8 \ube44\uc728',\n                data: [25, 35, 25, 15],\n                backgroundColor: ['#FF6384', '#36A2EB', '#FFCE56', '#FF5733'],\n                borderWidth: 1,\n            },\n        ],\n    };\n\n    return (\n        <div>\n            <h2>\ucde8\ubbf8 \ube44\uc728 \uc6d0\ud615 \ucc28\ud2b8<\/h2>\n            <doughnut data=\"{data}\"><\/doughnut>\n        <\/div>\n    );\n}\n\nexport default App;\n                <\/code>\n            <\/pre>\n<p>\n                \uc6d0\ud615 \ucc28\ud2b8\uc5d0\uc11c\ub294 <code>data<\/code> \uac1d\uccb4\uc5d0 \uc0c9\uc0c1 \ubc30\uc5f4(<code>backgroundColor<\/code>)\uc744 \ucd94\uac00\ud558\uc5ec \uac01 \uc870\uac01\uc758 \uc0c9\uc0c1\uc744 \uc124\uc815\ud569\ub2c8\ub2e4. \uc774\uc640 \uac19\uc740 \ubc29\uc2dd\uc73c\ub85c \ub2e4\ub978 \ucc28\ud2b8 \uc720\ud615\ub3c4 \uc27d\uac8c \ucd94\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n            <\/p>\n<\/section>\n<section>\n<h2>6. \ucc28\ud2b8\uc758 \uc2a4\ud0c0\uc77c \uc870\uc815\ud558\uae30<\/h2>\n<p>\n                \ucc28\ud2b8\uc758 \ubaa8\uc591\uacfc \uc2a4\ud0c0\uc77c\ub3c4 \uc870\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc544\ub798\ub294 \ucc28\ud2b8\uc758 \ud14c\ub450\ub9ac \ub450\uaed8\uc640 \ubc14\ub451\ud310 \ubc30\uacbd\uc744 \uc124\uc815\ud558\ub294 \ubc29\ubc95\uc785\ub2c8\ub2e4.\n            <\/p>\n<pre>\n                <code>\nconst options = {\n    maintainAspectRatio: false,\n    scales: {\n        y: {\n            beginAtZero: true,\n            grid: {\n                color: '#e0e0e0',\n            },\n        },\n    },\n};\n\nfunction App() {\n    return (\n        <div '400px'=\"\" height:=\"\" style=\"{{\" }}=\"\">\n            <h2>\uc635\uc158\uc774 \uc801\uc6a9\ub41c \uc120 \ucc28\ud2b8<\/h2>\n            <line data=\"{data}\" options=\"{options}\"><\/line>\n        <\/div>\n    );\n}\n                <\/code>\n            <\/pre>\n<p>\n<code>options<\/code> \uac1d\uccb4\ub97c \ud1b5\ud574 \ucc28\ud2b8\uc758 \ub2e4\uc591\ud55c \uc2a4\ud0c0\uc77c\uc744 \uc870\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. <code>maintainAspectRatio<\/code> \uc18d\uc131\uc744 false\ub85c \uc124\uc815\ud558\uba74 \ucc28\ud2b8\uac00 \uc9c0\uc815\ub41c \ub192\uc774\uc5d0 \ub9de\uac8c \ube44\uc728\uc5d0 \uad6c\uc560\ubc1b\uc9c0 \uc54a\uace0 \uc870\uc815\ub429\ub2c8\ub2e4.\n            <\/p>\n<\/section>\n<section>\n<h2>7. \uc0c1\ud0dc\uc5d0 \ub530\ub978 \ub370\uc774\ud130 \uc5c5\ub370\uc774\ud2b8<\/h2>\n<p>\n                \ucc28\ud2b8\uc758 \ub370\uc774\ud130\ub97c \ub3d9\uc801\uc73c\ub85c \uc5c5\ub370\uc774\ud2b8\ud558\ub294 \ubc29\ubc95\ub3c4 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc0c1\ud0dc\ub97c \uc774\uc6a9\ud558\uc5ec \ubc84\ud2bc \ud074\ub9ad \uc2dc \ub370\uc774\ud130\ub97c \ubcc0\uacbd\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.\n            <\/p>\n<pre>\n                <code>\nimport React, { useState } from 'react';\nimport { Line } from 'react-chartjs-2';\n\nfunction App() {\n    const [data, setData] = useState({\n        labels: ['1\uc6d4', '2\uc6d4', '3\uc6d4', '4\uc6d4', '5\uc6d4', '6\uc6d4'],\n        datasets: [{\n            label: '\ud310\ub9e4\ub7c9',\n            data: [65, 59, 80, 81, 56, 55],\n            backgroundColor: 'rgba(75,192,192,0.4)',\n            borderColor: 'rgba(75,192,192,1)',\n            borderWidth: 2,\n        }],\n    });\n\n    const updateData = () =&gt; {\n        setData({\n            labels: ['7\uc6d4', '8\uc6d4', '9\uc6d4', '10\uc6d4', '11\uc6d4', '12\uc6d4'],\n            datasets: [{\n                label: '\ud310\ub9e4\ub7c9',\n                data: [70, 50, 90, 60, 40, 80],\n                backgroundColor: 'rgba(75,192,192,0.4)',\n                borderColor: 'rgba(75,192,192,1)',\n                borderWidth: 2,\n            }],\n        });\n    };\n\n    return (\n        <div>\n            <h2>\ud310\ub9e4\ub7c9 \uc120 \ucc28\ud2b8<\/h2>\n            <line data=\"{data}\"><\/line>\n            <button onclick=\"{updateData}\">\ub370\uc774\ud130 \uc5c5\ub370\uc774\ud2b8<\/button>\n        <\/div>\n    );\n}\n\nexport default App;\n                <\/code>\n            <\/pre>\n<p>\n                \uc704\uc758 \ucf54\ub4dc\uc5d0\uc11c\ub294 <code>useState<\/code> \ud6c5\uc744 \uc0ac\uc6a9\ud574 \uc0c1\ud0dc\ub97c \uad00\ub9ac\ud558\uba70, \ubc84\ud2bc \ud074\ub9ad\uc2dc <code>updateData<\/code> \ud568\uc218\ub97c \ud1b5\ud574 \ucc28\ud2b8\ub97c \uc5c5\ub370\uc774\ud2b8\ud569\ub2c8\ub2e4. \uc774\ucc98\ub7fc React\uc758 \uc0c1\ud0dc \uad00\ub9ac \uae30\ub2a5\uc744 \ud65c\uc6a9\ud558\uc5ec \uc27d\uac8c \ucc28\ud2b8\ub97c \ub3d9\uc801\uc73c\ub85c \uc5c5\ub370\uc774\ud2b8\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n            <\/p>\n<\/section>\n<section>\n<h2>8. \uacb0\ub860<\/h2>\n<p>\n                \uc774\ubc88 \ud3ec\uc2a4\ud2b8\uc5d0\uc11c\ub294 Chart.js\uc640 React ChartJS 2\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub370\uc774\ud130 \uc2dc\uac01\ud654\uc758 \uae30\ucd08\ub97c \ub2e4\ub8e8\uc5c8\uc2b5\ub2c8\ub2e4. \ub2e4\uc591\ud55c \ucc28\ud2b8 \uc720\ud615\uc744 \uad6c\ud604\ud558\uace0, \ucc28\ud2b8\uc758 \uc2a4\ud0c0\uc77c\uc744 \uc870\uc815\ud558\uba70, \ub3d9\uc801\uc73c\ub85c \ub370\uc774\ud130\ub97c \uc5c5\ub370\uc774\ud2b8\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc124\uba85\ud588\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uae30\ubc95\uc744 \ud1b5\ud574 \uc0ac\uc6a9\uc790\uc5d0\uac8c \ubcf4\ub2e4 \uc720\uc775\ud55c \uc815\ubcf4\ub97c \uc81c\uacf5\ud560 \uc218 \uc788\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uac1c\ubc1c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n            <\/p>\n<p>\n                \ub370\uc774\ud130 \uc2dc\uac01\ud654\ub294 \uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc744 \ub192\uc774\ub294 \uc911\uc694\ud55c \uc694\uc18c\uc774\ubbc0\ub85c, \uc774\ubc88 \uac15\uc88c\ub97c \ud1b5\ud574 \uc5ec\ub7ec\ubd84\uc758 \ud504\ub85c\uc81d\ud2b8\uc5d0 \uc801\uc6a9\ud574 \ubcf4\uc138\uc694. \ucd94\uac00\uc801\uc73c\ub85c Chart.js\uc758 \ub2e4\uc591\ud55c \uae30\ub2a5\uc744 \ud65c\uc6a9\ud558\uc5ec \ubcf5\uc7a1\ud55c \ub370\uc774\ud130\ub3c4 \ub180\ub78d\ub3c4\ub85d \uc2dc\uac01\uc801\uc73c\ub85c \ud45c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n            <\/p>\n<\/section>\n<footer>\n<h2>\ucc38\uace0 \uc790\ub8cc<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.chartjs.org\/\">Chart.js \uacf5\uc2dd \ubb38\uc11c<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/reactchartjs\/react-chartjs-2\">React ChartJS 2 GitHub Repository<\/a><\/li>\n<li><a href=\"https:\/\/reactjs.org\/docs\/hooks-intro.html\">React Hooks \uacf5\uc2dd \ubb38\uc11c<\/a><\/li>\n<\/ul>\n<\/footer>\n<\/article>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc18c\uac1c \ub370\uc774\ud130 \uc2dc\uac01\ud654\ub294 \ud604\ub300 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. \ud2b9\ud788, \uc0ac\uc6a9\uc790\uc5d0\uac8c \uc815\ubcf4\ub97c \ud6a8\uacfc\uc801\uc73c\ub85c \uc804\ub2ec\ud558\uace0, \ub370\uc774\ud130\uc758 \ud328\ud134\uc744 \uc27d\uac8c \ud30c\uc545\ud560 \uc218 \uc788\uac8c \ud569\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 React \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c Chart.js\uc640 React ChartJS 2\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucc28\ud2b8\uc640 \uadf8\ub798\ud504\ub97c \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \ub2e8\uacc4\ubcc4\ub85c \uc124\uba85\ud569\ub2c8\ub2e4. Chart.js\ub294 \uac04\ub2e8\ud55c API\uc640 \ub2e4\uc591\ud55c \ucc28\ud2b8 \uc720\ud615\uc744 \uc81c\uacf5\ud558\uc5ec \uac1c\ubc1c\uc790\ub4e4\uc774 \uc9c1\uad00\uc801\uc73c\ub85c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d \ub9cc\ub4e4\uc5b4\uc9c4 \uc624\ud508 \uc18c\uc2a4 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4. React ChartJS 2\ub294 Chart.js\ub97c &hellip; <a href=\"https:\/\/atmokpo.com\/w\/39006\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, Chart.js\uc640 React ChartJS\ub85c \ub370\uc774\ud130 \uc2dc\uac01\ud654&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[191],"tags":[],"class_list":["post-39006","post","type-post","status-publish","format-standard","hentry","category-react"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, Chart.js\uc640 React ChartJS\ub85c \ub370\uc774\ud130 \uc2dc\uac01\ud654 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/39006\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, Chart.js\uc640 React ChartJS\ub85c \ub370\uc774\ud130 \uc2dc\uac01\ud654 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc18c\uac1c \ub370\uc774\ud130 \uc2dc\uac01\ud654\ub294 \ud604\ub300 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. \ud2b9\ud788, \uc0ac\uc6a9\uc790\uc5d0\uac8c \uc815\ubcf4\ub97c \ud6a8\uacfc\uc801\uc73c\ub85c \uc804\ub2ec\ud558\uace0, \ub370\uc774\ud130\uc758 \ud328\ud134\uc744 \uc27d\uac8c \ud30c\uc545\ud560 \uc218 \uc788\uac8c \ud569\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 React \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c Chart.js\uc640 React ChartJS 2\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucc28\ud2b8\uc640 \uadf8\ub798\ud504\ub97c \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \ub2e8\uacc4\ubcc4\ub85c \uc124\uba85\ud569\ub2c8\ub2e4. Chart.js\ub294 \uac04\ub2e8\ud55c API\uc640 \ub2e4\uc591\ud55c \ucc28\ud2b8 \uc720\ud615\uc744 \uc81c\uacf5\ud558\uc5ec \uac1c\ubc1c\uc790\ub4e4\uc774 \uc9c1\uad00\uc801\uc73c\ub85c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d \ub9cc\ub4e4\uc5b4\uc9c4 \uc624\ud508 \uc18c\uc2a4 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4. React ChartJS 2\ub294 Chart.js\ub97c &hellip; \ub354 \ubcf4\uae30 &quot;\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, Chart.js\uc640 React ChartJS\ub85c \ub370\uc774\ud130 \uc2dc\uac01\ud654&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/39006\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-02T02:36:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:42:40+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/39006\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39006\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, Chart.js\uc640 React ChartJS\ub85c \ub370\uc774\ud130 \uc2dc\uac01\ud654\",\"datePublished\":\"2024-11-02T02:36:17+00:00\",\"dateModified\":\"2024-11-26T06:42:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39006\/\"},\"wordCount\":61,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"React\ud504\ub860\ud2b8\uc5d4\ub4dc\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/39006\/\",\"url\":\"https:\/\/atmokpo.com\/w\/39006\/\",\"name\":\"\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, Chart.js\uc640 React ChartJS\ub85c \ub370\uc774\ud130 \uc2dc\uac01\ud654 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-02T02:36:17+00:00\",\"dateModified\":\"2024-11-26T06:42:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39006\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/39006\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/39006\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, Chart.js\uc640 React ChartJS\ub85c \ub370\uc774\ud130 \uc2dc\uac01\ud654\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, Chart.js\uc640 React ChartJS\ub85c \ub370\uc774\ud130 \uc2dc\uac01\ud654 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/39006\/","og_locale":"ko_KR","og_type":"article","og_title":"\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, Chart.js\uc640 React ChartJS\ub85c \ub370\uc774\ud130 \uc2dc\uac01\ud654 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc18c\uac1c \ub370\uc774\ud130 \uc2dc\uac01\ud654\ub294 \ud604\ub300 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. \ud2b9\ud788, \uc0ac\uc6a9\uc790\uc5d0\uac8c \uc815\ubcf4\ub97c \ud6a8\uacfc\uc801\uc73c\ub85c \uc804\ub2ec\ud558\uace0, \ub370\uc774\ud130\uc758 \ud328\ud134\uc744 \uc27d\uac8c \ud30c\uc545\ud560 \uc218 \uc788\uac8c \ud569\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 React \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c Chart.js\uc640 React ChartJS 2\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucc28\ud2b8\uc640 \uadf8\ub798\ud504\ub97c \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \ub2e8\uacc4\ubcc4\ub85c \uc124\uba85\ud569\ub2c8\ub2e4. Chart.js\ub294 \uac04\ub2e8\ud55c API\uc640 \ub2e4\uc591\ud55c \ucc28\ud2b8 \uc720\ud615\uc744 \uc81c\uacf5\ud558\uc5ec \uac1c\ubc1c\uc790\ub4e4\uc774 \uc9c1\uad00\uc801\uc73c\ub85c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d \ub9cc\ub4e4\uc5b4\uc9c4 \uc624\ud508 \uc18c\uc2a4 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4. React ChartJS 2\ub294 Chart.js\ub97c &hellip; \ub354 \ubcf4\uae30 \"\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, Chart.js\uc640 React ChartJS\ub85c \ub370\uc774\ud130 \uc2dc\uac01\ud654\"","og_url":"https:\/\/atmokpo.com\/w\/39006\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-02T02:36:17+00:00","article_modified_time":"2024-11-26T06:42:40+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/39006\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/39006\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, Chart.js\uc640 React ChartJS\ub85c \ub370\uc774\ud130 \uc2dc\uac01\ud654","datePublished":"2024-11-02T02:36:17+00:00","dateModified":"2024-11-26T06:42:40+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/39006\/"},"wordCount":61,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["React\ud504\ub860\ud2b8\uc5d4\ub4dc"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/39006\/","url":"https:\/\/atmokpo.com\/w\/39006\/","name":"\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, Chart.js\uc640 React ChartJS\ub85c \ub370\uc774\ud130 \uc2dc\uac01\ud654 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-02T02:36:17+00:00","dateModified":"2024-11-26T06:42:40+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/39006\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/39006\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/39006\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, Chart.js\uc640 React ChartJS\ub85c \ub370\uc774\ud130 \uc2dc\uac01\ud654"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/39006","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=39006"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/39006\/revisions"}],"predecessor-version":[{"id":39007,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/39006\/revisions\/39007"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=39006"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=39006"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=39006"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}