comparison client/src/lib/DefaultDiagramTemplate.js @ 4184:ea36f163db44

Clinet: pdf-gen: adjust default template positioning values
author Fadi Abbud <fadi.abbud@intevation.de>
date Tue, 06 Aug 2019 11:45:12 +0200
parents 2f024d6189ca
children
comparison
equal deleted inserted replaced
4183:34623265eac1 4184:ea36f163db44
5 }, 5 },
6 elements: [ 6 elements: [
7 { 7 {
8 type: "diagramtitle", 8 type: "diagramtitle",
9 position: "topleft", 9 position: "topleft",
10 offset: { x: 25, y: 25 }, 10 offset: { x: 74, y: 25 },
11 fontsize: 20, 11 fontsize: 20,
12 color: "steelblue" 12 color: "steelblue"
13 }, 13 },
14 { 14 {
15 type: "diagram", 15 type: "diagram",
16 position: "topleft", 16 position: "topleft",
17 offset: { x: 21, y: 39 }, 17 offset: { x: 24, y: 40 },
18 width: 230, 18 width: 248,
19 height: 110 19 height: 119
20 }, 20 },
21 { 21 {
22 type: "diagramlegend", 22 type: "diagramlegend",
23 position: "topleft", 23 position: "topleft",
24 offset: { x: 25, y: 167 }, 24 offset: { x: 44, y: 167 },
25 color: "black" 25 color: "black"
26 } 26 }
27 ] 27 ]
28 }; 28 };
29 29