{
  "id": "pes-types",
  "name": "Price elasticity of supply: types",
  "unit": "micro",
  "unitName": "Unit 2 · Microeconomics",
  "topic": "Elasticity",
  "hl": false,
  "description": "A straight supply curve through the origin is unit elastic; one cutting the price axis is elastic; one cutting the quantity axis is inelastic. Plus the perfectly elastic and inelastic extremes.",
  "keywords": [
    "PES",
    "price elasticity of supply",
    "elastic supply",
    "inelastic supply",
    "unit elastic",
    "perfectly elastic",
    "perfectly inelastic",
    "origin"
  ],
  "schemaUrl": "https://graphs.lectere.com/api/v1/templates/pes-types",
  "previewUrl": "https://graphs.lectere.com/thumbs/pes-types.svg",
  "editorUrl": "https://graphs.lectere.com/graph/pes-types/",
  "params": [
    {
      "key": "type",
      "label": "Type",
      "default": "compare",
      "type": "enum",
      "options": [
        {
          "value": "elastic",
          "label": "Elastic (cuts the price axis) (PES > 1)"
        },
        {
          "value": "unit",
          "label": "Unit elastic (through the origin) (PES = 1)"
        },
        {
          "value": "inelastic",
          "label": "Inelastic (cuts the quantity axis) (PES < 1)"
        },
        {
          "value": "pe",
          "label": "Perfectly elastic (PES = ∞)"
        },
        {
          "value": "pi",
          "label": "Perfectly inelastic (PES = 0)"
        },
        {
          "value": "compare",
          "label": "Compare elastic, unit and inelastic"
        }
      ]
    },
    {
      "key": "change",
      "label": "Show a price change",
      "default": false,
      "type": "boolean"
    },
    {
      "key": "value",
      "label": "Write the PES value on the curve",
      "default": true,
      "type": "boolean"
    }
  ],
  "defaults": {
    "type": "compare",
    "change": false,
    "value": true
  },
  "panels": [
    {
      "id": "main",
      "title": null,
      "xLabel": "Quantity",
      "yLabel": "Price",
      "xRange": [
        0,
        10
      ],
      "yRange": [
        0,
        10
      ],
      "axisKeys": {
        "x": "main:x",
        "y": "main:y"
      }
    }
  ],
  "labels": [
    {
      "key": "main:y",
      "default": "Price",
      "hint": "Vertical axis",
      "panel": "main"
    },
    {
      "key": "main:x",
      "default": "Quantity",
      "hint": "Horizontal axis",
      "panel": "main"
    },
    {
      "key": "main.s1",
      "default": "S_1 (PES > 1)",
      "hint": "Curve",
      "panel": "main"
    },
    {
      "key": "main.s2",
      "default": "S_2 (PES = 1)",
      "hint": "Curve",
      "panel": "main"
    },
    {
      "key": "main.s3",
      "default": "S_3 (PES < 1)",
      "hint": "Curve",
      "panel": "main"
    }
  ],
  "elements": [
    {
      "key": "main.s1",
      "kind": "curve",
      "label": "S_1 (PES > 1)"
    },
    {
      "key": "main.s2",
      "kind": "curve",
      "label": "S_2 (PES = 1)"
    },
    {
      "key": "main.s3",
      "kind": "curve",
      "label": "S_3 (PES < 1)"
    }
  ],
  "stats": null,
  "example": {
    "template": "pes-types",
    "params": {
      "type": "compare",
      "change": false,
      "value": true
    }
  }
}