{
  "id": "supply-shift",
  "name": "Shift in supply",
  "unit": "micro",
  "unitName": "Unit 2 · Microeconomics",
  "topic": "Demand & supply",
  "hl": false,
  "description": "An increase or decrease in supply caused by a non-price determinant (costs, technology, taxes...).",
  "keywords": [
    "increase in supply",
    "decrease in supply",
    "costs of production",
    "technology",
    "shift"
  ],
  "schemaUrl": "https://graphs.lectere.com/api/v1/templates/supply-shift",
  "previewUrl": "https://graphs.lectere.com/thumbs/supply-shift.svg",
  "editorUrl": "https://graphs.lectere.com/graph/supply-shift/",
  "params": [
    {
      "key": "dir",
      "label": "Change",
      "default": "inc",
      "type": "enum",
      "options": [
        {
          "value": "inc",
          "label": "Increase (shift right)"
        },
        {
          "value": "dec",
          "label": "Decrease (shift left)"
        }
      ]
    },
    {
      "key": "guides",
      "label": "Show quantity change at a given price",
      "default": true,
      "type": "boolean"
    },
    {
      "key": "shift",
      "label": "Shift size",
      "default": 2,
      "group": "Shape",
      "type": "number",
      "min": 0.5,
      "max": 3.5,
      "step": 0.1
    },
    {
      "key": "sSlope",
      "label": "Supply steepness",
      "default": 0.8,
      "group": "Shape",
      "type": "number",
      "min": 0.3,
      "max": 2.5,
      "step": 0.05
    }
  ],
  "defaults": {
    "dir": "inc",
    "guides": true,
    "shift": 2,
    "sSlope": 0.8
  },
  "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",
      "hint": "Curve",
      "panel": "main"
    },
    {
      "key": "main.s2",
      "default": "S_2",
      "hint": "Curve",
      "panel": "main"
    },
    {
      "key": "main.q1:y",
      "default": "P",
      "hint": "Vertical-axis value",
      "panel": "main"
    },
    {
      "key": "main.q1:x",
      "default": "Q_1",
      "hint": "Horizontal-axis value",
      "panel": "main"
    },
    {
      "key": "main.q2:x",
      "default": "Q_2",
      "hint": "Horizontal-axis value",
      "panel": "main"
    }
  ],
  "elements": [
    {
      "key": "main.s1",
      "kind": "curve",
      "label": "S_1"
    },
    {
      "key": "main.s2",
      "kind": "curve",
      "label": "S_2"
    },
    {
      "key": "main.shift",
      "kind": "line"
    },
    {
      "key": "main.q1",
      "kind": "point"
    },
    {
      "key": "main.q2",
      "kind": "point"
    }
  ],
  "stats": null,
  "example": {
    "template": "supply-shift",
    "params": {
      "dir": "inc",
      "guides": true,
      "shift": 2,
      "sSlope": 0.8
    }
  }
}