From b84bb9a7a9fba2ab2d927d68466d4daf74917923 Mon Sep 17 00:00:00 2001 From: "Lim\\jun" Date: Wed, 7 Feb 2024 19:02:07 +0900 Subject: [PATCH] =?UTF-8?q?Dashboard=20-=20=EB=8B=A4=EC=9A=B4=EB=A1=9C?= =?UTF-8?q?=EB=93=9C=EC=88=98=20=EC=97=85=EB=8E=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/admin/schedule/EgovAdminScheduleList.jsx | 1 - .../src/pages/admin/schedule/MonthlyBarChart.jsx | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/schedule/EgovAdminScheduleList.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/schedule/EgovAdminScheduleList.jsx index b1ec2ec..0044ef0 100644 --- a/egovframe-template-simple-react-contribution/src/pages/admin/schedule/EgovAdminScheduleList.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/admin/schedule/EgovAdminScheduleList.jsx @@ -203,7 +203,6 @@ function EgovAdminDashboard(props) { // 총 다운로드 수를 받아온 후 state 업데이트 const handleTotalDownloads = (sum) => { setTotalDownloads(sum); - console.log(sum); }; return ( diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/schedule/MonthlyBarChart.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/schedule/MonthlyBarChart.jsx index e77cf40..9fd7d79 100644 --- a/egovframe-template-simple-react-contribution/src/pages/admin/schedule/MonthlyBarChart.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/admin/schedule/MonthlyBarChart.jsx @@ -82,6 +82,7 @@ const MonthlyBarChart = ({ onDataFetched }) => { const [series, setSeries] = useState([ { + name: '다운로드수', data: fileDailyList } ]); @@ -100,11 +101,10 @@ const MonthlyBarChart = ({ onDataFetched }) => { setOptions((prevState) => ({ ...prevState, colors: [info], - // labels: ['PC', 'Mobile', 'Mobile', 'Mobile', 'Mobile', 'Mobile', 'Mobile'], xaxis: { labels: { style: { - colors: [primary, secondary, secondary, secondary, secondary, secondary, secondary] + colors: [secondary, secondary, secondary, secondary, secondary, secondary, secondary] } } },