Mercurial > gemma
comparison client/src/components/systemconfiguration/PDFTemplates.vue @ 3160:94935895e6d7
client: add diagram-element to template (waterlevel)
* add the diagram as an element to template and add the ability to definewidth, height and position of the exported diagram to pdf
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Mon, 06 May 2019 13:05:49 +0200 |
parents | 106e1d011a5d |
children | 83e8e1ea0aff |
comparison
equal
deleted
inserted
replaced
3159:4f4905b57fcf | 3160:94935895e6d7 |
---|---|
181 "legend", | 181 "legend", |
182 "scalebar", | 182 "scalebar", |
183 "scale", | 183 "scale", |
184 "northarrow", | 184 "northarrow", |
185 "diagramlegend", | 185 "diagramlegend", |
186 "diagramtitle" | 186 "diagramtitle", |
187 "diagram" | |
187 ].indexOf(e.type) === -1 | 188 ].indexOf(e.type) === -1 |
188 ) { | 189 ) { |
189 checkElement = true; | 190 checkElement = true; |
190 displayError({ | 191 displayError({ |
191 title: this.$gettext("Invalid element"), | 192 title: this.$gettext("Invalid element"), |