view client/src/lib/DefaultDiagramTemplate.js @ 4288:767a6500a666

classifications: refactor
author Thomas Junk <thomas.junk@intevation.de>
date Fri, 30 Aug 2019 10:09:35 +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 };