Skip to content

Commit f37985f

Browse files
committed
hotfix:chart
1 parent 66696b9 commit f37985f

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/components/dashboard/TeamProductivityTrend.jsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ function TeamProductivityTrend({ selectedProjectId, title = "인원별 이슈
5151

5252
<div className="h-64">
5353
{barData.length > 0 ? (
54-
<ResponsiveContainer width="100%" height="120%">
54+
<ResponsiveContainer width="100%" height="125%">
5555
<BarChart
5656
data={barData}
57-
margin={{ top: 10, right: 20, left: 20, bottom: 20 }}
57+
margin={{ top: 0, right: 10, left: 5, bottom: 20 }}
5858
>
5959
<CartesianGrid strokeDasharray="3 3" />
6060
<XAxis
@@ -79,15 +79,16 @@ function TeamProductivityTrend({ selectedProjectId, title = "인원별 이슈
7979
name
8080
]}
8181
/>
82-
<Legend />
8382
<Bar
8483
dataKey="할당 기간"
8584
fill="#93C5FD"
85+
name="할당 기간"
8686
radius={[2, 2, 0, 0]}
8787
/>
8888
<Bar
8989
dataKey="완료 기간"
9090
fill="#3B82F6"
91+
name="완료 기간"
9192
radius={[2, 2, 0, 0]}
9293
/>
9394
</BarChart>

0 commit comments

Comments
 (0)