increase left-margin of chart to allow for larger numbers on y-axis

This commit is contained in:
Danny 2018-05-23 16:06:20 +02:00
parent f1b2ba1775
commit 813eb460a3
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ class Chart extends Component {
return;
}
let padding = { top: 24, right: 12, bottom: 64, left: 24 };
let padding = { top: 24, right: 12, bottom: 64, left: 40 };
let height = Math.max( this.base.clientHeight, 240 );
let width = this.base.clientWidth;
let innerWidth = width - padding.left - padding.right;