Mercurial > gemma
view client/src/lib/DefaultDiagramTemplate.js @ 4677:fa55e48bbca1
client: improve filename generation for downloads
* unify filename for the generated csv files
* move function to mixins.js
* mark strings in filename for translations
* replace whitespace with "-"
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Tue, 15 Oct 2019 17:16:36 +0200 |
parents | ea36f163db44 |
children |
line wrap: on
line source
const defaultDiagramTemplate = { name: "Default", properties: { paperSize: "a4" }, elements: [ { type: "diagramtitle", position: "topleft", offset: { x: 74, y: 25 }, fontsize: 20, color: "steelblue" }, { type: "diagram", position: "topleft", offset: { x: 24, y: 40 }, width: 248, height: 119 }, { type: "diagramlegend", position: "topleft", offset: { x: 44, y: 167 }, color: "black" } ] }; export { defaultDiagramTemplate };