mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-04-30 21:21:42 +03:00
- client: 1750 Display 0% at the bottom in the statistical chart
Close #1750
* commit 'd21535683c
':
- client: 1750 Display 0% at the bottom in the statistical chart
This commit is contained in:
commit
fb7ca94243
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue