Skip to content
Snippets Groups Projects
Commit 61aa6a39 authored by Benjamin Ledel's avatar Benjamin Ledel
Browse files

* sample data + text elements begonnenn

parent 51b169d2
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,9 @@ export class HeatMapWidget extends BaseChartWidget { ...@@ -10,7 +10,9 @@ export class HeatMapWidget extends BaseChartWidget {
} }
plot(divWidth, divHeight, el) { 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(); this.drawTitle();
if (!this.dataIsValid) { if (!this.dataIsValid) {
......
...@@ -11,7 +11,7 @@ export class ScatterChartWidget extends BaseChartWidget { ...@@ -11,7 +11,7 @@ export class ScatterChartWidget extends BaseChartWidget {
} }
plot(divWidth, divHeight, el) { plot(divWidth, divHeight, el) {
const [width, height] = this.clearAndScaleSvg(divWidth, divHeight);//, 25, 25); const [width, height] = this.clearAndScaleSvg(divWidth, divHeight);
this.drawTitle(); this.drawTitle();
if (!this.dataIsValid) { if (!this.dataIsValid) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment