Adjust margins

This commit is contained in:
Henri Bergius 2017-11-30 15:45:16 +01:00
parent a20e9a7c6e
commit 5ae23b42ec
2 changed files with 11 additions and 0 deletions

View file

@ -61,6 +61,11 @@ class Heatmap extends Component {
}, },
}, },
paper_bgcolor: 'transparent', paper_bgcolor: 'transparent',
margin: {
r: 0,
t: 0,
b: 0,
},
}; };
this.ts = ts; this.ts = ts;
ts.getData({ ts.getData({

View file

@ -57,6 +57,12 @@ class Polar extends Component {
showlegend: false, showlegend: false,
paper_bgcolor: 'transparent', paper_bgcolor: 'transparent',
autosize: true, autosize: true,
margin: {
l: 0,
r: 0,
t: 0,
b: 0,
},
}; };
let data = []; let data = [];
const dayLabels = ts.getDayLabels(); const dayLabels = ts.getDayLabels();