diff --git a/elements/heatmap.js b/elements/heatmap.js index 339c2e8..f9c668a 100644 --- a/elements/heatmap.js +++ b/elements/heatmap.js @@ -61,6 +61,11 @@ class Heatmap extends Component { }, }, paper_bgcolor: 'transparent', + margin: { + r: 0, + t: 0, + b: 0, + }, }; this.ts = ts; ts.getData({ diff --git a/elements/polar.js b/elements/polar.js index b56a95d..36bbe23 100644 --- a/elements/polar.js +++ b/elements/polar.js @@ -57,6 +57,12 @@ class Polar extends Component { showlegend: false, paper_bgcolor: 'transparent', autosize: true, + margin: { + l: 0, + r: 0, + t: 0, + b: 0, + }, }; let data = []; const dayLabels = ts.getDayLabels();