diff --git a/src/js/charts/heatmap.js b/src/js/charts/heatmap.js
index c235b89f4ae84001740a869005320d61e08194fa..1ade5b2aa4298d2a6be926df75b6843b18b07728 100644
--- a/src/js/charts/heatmap.js
+++ b/src/js/charts/heatmap.js
@@ -10,7 +10,9 @@ export class HeatMapWidget extends BaseChartWidget {
   }
 
   plot(divWidth, divHeight, el) {
-    const [width, height] = this.clearAndScaleSvg(divWidth, divHeight,20,20);
+    this.marginRight = 50
+    this.marginBottom = 50
+    const [width, height] = this.clearAndScaleSvg(divWidth, divHeight,20,40);
     this.drawTitle();
 
     if (!this.dataIsValid) {
diff --git a/src/js/charts/scatterchart.js b/src/js/charts/scatterchart.js
index 1aa22b11a20132f1ade07f98d2ca8f76653256ff..f6dbf0e0d1ca7b1f77cbdcda558b88eaaa9cd967 100644
--- a/src/js/charts/scatterchart.js
+++ b/src/js/charts/scatterchart.js
@@ -11,7 +11,7 @@ export class ScatterChartWidget extends BaseChartWidget {
   }
 
   plot(divWidth, divHeight, el) {
-    const [width, height] = this.clearAndScaleSvg(divWidth, divHeight);//, 25, 25);
+    const [width, height] = this.clearAndScaleSvg(divWidth, divHeight);
     this.drawTitle();
 
     if (!this.dataIsValid) {