mirror of
https://github.com/apotdevin/thunderhub.git
synced 2025-02-22 14:22:33 +01:00
fix: graph margin (#310)
This commit is contained in:
parent
5bd02a734d
commit
d3d49a18b8
2 changed files with 2 additions and 2 deletions
|
@ -127,7 +127,7 @@ const Chart = ({
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div style={{ position: 'relative' }}>
|
<div style={{ position: 'relative' }}>
|
||||||
<svg width={width} height={height}>
|
<svg width={width} height={height - 10}>
|
||||||
<Group top={margin.top} left={margin.left}>
|
<Group top={margin.top} left={margin.left}>
|
||||||
<BarGroup
|
<BarGroup
|
||||||
data={data}
|
data={data}
|
||||||
|
|
|
@ -98,7 +98,7 @@ const Chart = ({
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div style={{ position: 'relative' }}>
|
<div style={{ position: 'relative' }}>
|
||||||
<svg width={width} height={height}>
|
<svg width={width} height={height - 10}>
|
||||||
<Group top={margin.top} left={margin.left}>
|
<Group top={margin.top} left={margin.left}>
|
||||||
<BarGroupHorizontal
|
<BarGroupHorizontal
|
||||||
data={data}
|
data={data}
|
||||||
|
|
Loading…
Add table
Reference in a new issue