diff client/src/components/gauge/Waterlevel.vue @ 3820:ee0066dcfb93 yworks-svg2pdf

Move hydrological conditions to svg2pdf Added experimental aspectratio for A4. ToDO: Find better values.
author Thomas Junk <thomas.junk@intevation.de>
date Fri, 05 Jul 2019 13:16:53 +0200
parents 37e896990c99
children abc15a3182c7
line wrap: on
line diff
--- a/client/src/components/gauge/Waterlevel.vue	Fri Jul 05 12:54:27 2019 +0200
+++ b/client/src/components/gauge/Waterlevel.vue	Fri Jul 05 13:16:53 2019 +0200
@@ -315,7 +315,7 @@
         xOffset: x,
         yOffset: y,
         // TODO depend on the size and aspect ration on paper
-        scale: this.templateData.properties.paperSize === "a3" ? 0.45 : 0.25
+        scale: this.templateData.properties.paperSize === "a3" ? 0.45 : 0.18
       });
 
       this.containerId = "waterlevel-diagram-container";