- client: 1750 Display 0% at the bottom in the statistical chart

This commit is contained in:
ArtemBaskal 2020-10-06 12:39:21 +03:00
parent 78814064bd
commit d21535683c
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ const Line = ({ data, color }) => data
&& <ResponsiveLine && <ResponsiveLine
data={data} data={data}
margin={{ margin={{
top: 15, top: data[0].data.every(({ y }) => y === 0) ? 62 : 15,
right: 0, right: 0,
bottom: 1, bottom: 1,
left: 20, left: 20,