Skip to content

Commit

Permalink
fix(console): dashboard chart yaxios width (#1435)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangsijie authored Jul 7, 2022
1 parent 8e28103 commit b26fb0c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/console/src/pages/Dashboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,13 @@ const Dashboard = () => {
fill="var(--color-hover-variant)"
/>
<XAxis dataKey="date" tickLine={false} tick={tickStyle} />
<YAxis orientation="right" axisLine={false} tickLine={false} tick={tickStyle} />
<YAxis
orientation="right"
width={30}
axisLine={false}
tickLine={false}
tick={tickStyle}
/>
<Tooltip content={<ChartTooltip />} cursor={{ stroke: 'var(--color-primary' }} />
</AreaChart>
</ResponsiveContainer>
Expand Down

0 comments on commit b26fb0c

Please sign in to comment.