view client/src/lib/DefaultDiagramTemplate.js @ 3992:2f024d6189ca

Reverted merge with diagram-cleanup -- its not yet ready.
author Sascha Wilde <wilde@intevation.de>
date Wed, 17 Jul 2019 15:12:23 +0200
parents c10897e0273b
children ea36f163db44
line wrap: on
line source

const defaultDiagramTemplate = {
  name: "Default",
  properties: {
    paperSize: "a4"
  },
  elements: [
    {
      type: "diagramtitle",
      position: "topleft",
      offset: { x: 25, y: 25 },
      fontsize: 20,
      color: "steelblue"
    },
    {
      type: "diagram",
      position: "topleft",
      offset: { x: 21, y: 39 },
      width: 230,
      height: 110
    },
    {
      type: "diagramlegend",
      position: "topleft",
      offset: { x: 25, y: 167 },
      color: "black"
    }
  ]
};

export { defaultDiagramTemplate };