2
0

setting graph dimensions to size of svg not window

This commit is contained in:
2018-09-02 15:33:58 +02:00
parent 13c9b1018b
commit 96dac08eb2

View File

@@ -42,12 +42,12 @@ export class NlsCanvasService {
this.renderer.setStyle( this.renderer.setStyle(
this.canvas, this.canvas,
'width', 'width',
window.innerWidth this.canvas.innerWidth
); );
this.renderer.setStyle( this.renderer.setStyle(
this.canvas, this.canvas,
'height', 'height',
window.innerHeight this.canvas.innerHeight
); );
} }
} }