view client/src/lib/DefaultDiagramTemplate.js @ 5521:3cfbc5769e8b

Make invalid output of ISRSrange_area() less likely Since ST_Transform() might produce an invalid polygon, add an extra ST_MakeValid().
author Tom Gottfried <tom@intevation.de>
date Thu, 21 Oct 2021 20:20:30 +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 };