changeset 3930:c2ac23175a8f

Tweaked the default template to look good. The Scaling and positioning of the svg diagrams is currently not precise, and needs further fixing. Till then I tweaked the template too look okayish anyway...
author Sascha Wilde <wilde@intevation.de>
date Thu, 11 Jul 2019 19:16:28 +0200
parents 45be361f2d48
children b166cb97b98a
files client/src/lib/DefaultDiagramTemplate.js
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/lib/DefaultDiagramTemplate.js	Thu Jul 11 18:54:22 2019 +0200
+++ b/client/src/lib/DefaultDiagramTemplate.js	Thu Jul 11 19:16:28 2019 +0200
@@ -14,14 +14,14 @@
     {
       type: "diagram",
       position: "topleft",
-      offset: { x: 25, y: 35 },
-      width: 240,
-      height: 120
+      offset: { x: 21, y: 39 },
+      width: 230,
+      height: 110
     },
     {
       type: "diagramlegend",
       position: "topleft",
-      offset: { x: 25, y: 165 },
+      offset: { x: 25, y: 167 },
       color: "black"
     }
   ]