Dashboard - 다운로드수 업뎃

thkim
Lim\jun 2024-02-07 19:02:07 +09:00
parent 8e22399ec4
commit b84bb9a7a9
2 changed files with 2 additions and 3 deletions

View File

@ -203,7 +203,6 @@ function EgovAdminDashboard(props) {
// state
const handleTotalDownloads = (sum) => {
setTotalDownloads(sum);
console.log(sum);
};
return (

View File

@ -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]
}
}
},