Mercurial > gemma
comparison client/src/components/gauge/HydrologicalConditions.vue @ 3336:db1dc197dc43
client: diagram-template: cleanup
* add default values to diagramtitle element
* fix positioning of title element
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Mon, 20 May 2019 17:40:16 +0200 |
parents | de0d0685a17b |
children | 8da2f7b9a04b |
comparison
equal
deleted
inserted
replaced
3335:59db0b5921c5 | 3336:db1dc197dc43 |
---|---|
238 .split(",")[3] + | 238 .split(",")[3] + |
239 "): Hydrological Conditions " + | 239 "): Hydrological Conditions " + |
240 this.longtermInterval.join(" - "); | 240 this.longtermInterval.join(" - "); |
241 this.addDiagramTitle( | 241 this.addDiagramTitle( |
242 e.position, | 242 e.position, |
243 e.offset, | 243 e.offset || defaultOffset, |
244 e.fontsize, | 244 e.fontsize || defaultFontSize, |
245 e.color, | 245 e.color || defaultColor, |
246 gaugeInfo | 246 gaugeInfo |
247 ); | 247 ); |
248 break; | 248 break; |
249 } | 249 } |
250 case "diagramlegend": { | 250 case "diagramlegend": { |