- client: 1750 Display 0% at the bottom in the statistical chart
This commit is contained in:
parent
78814064bd
commit
d21535683c
|
@ -8,7 +8,7 @@ const Line = ({ data, color }) => data
|
|||
&& <ResponsiveLine
|
||||
data={data}
|
||||
margin={{
|
||||
top: 15,
|
||||
top: data[0].data.every(({ y }) => y === 0) ? 62 : 15,
|
||||
right: 0,
|
||||
bottom: 1,
|
||||
left: 20,
|
||||
|
|
Loading…
Reference in New Issue