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

Close #1750

* commit 'd21535683c1dbd981933e9bb6fcb9a1097841092':
  - client: 1750 Display 0% at the bottom in the statistical chart
This commit is contained in:
Artem Baskal 2020-10-06 19:32:37 +03:00
commit fb7ca94243

View File

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