{
  "version": "xarts.series-diagnostics/1",
  "family": "series-diagnostics",
  "provenance": {
    "legacyId": "controlchart"
  },
  "document": {
    "header": {
      "title": "Process Control",
      "subtitle": "Two of 25 measurements fall outside the control limits: observations 10 and 16"
    },
    "footer": {
      "source": "xarts · demo data",
      "notes": "Illustrative data to explore the chart and replace with your own."
    },
    "spacing": {
      "horizontalPadding": 24,
      "topPadding": 22,
      "bottomPadding": 24,
      "minimumTextGap": 6
    }
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 800,
      "height": 480
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "output": {
    "filename": "controlchart",
    "embedSpec": true,
    "geometryDecimals": 2
  },
  "operation": "shewhart",
  "data": {
    "unit": null,
    "valueLabel": "Value",
    "coordinateLabel": "Observation",
    "rows": [
      {
        "id": "observation-1",
        "label": "1",
        "coordinate": 1,
        "value": 49.2
      },
      {
        "id": "observation-2",
        "label": "2",
        "coordinate": 2,
        "value": 51.8
      },
      {
        "id": "observation-3",
        "label": "3",
        "coordinate": 3,
        "value": 47.3
      },
      {
        "id": "observation-4",
        "label": "4",
        "coordinate": 4,
        "value": 52.1
      },
      {
        "id": "observation-5",
        "label": "5",
        "coordinate": 5,
        "value": 48.7
      },
      {
        "id": "observation-6",
        "label": "6",
        "coordinate": 6,
        "value": 53.4
      },
      {
        "id": "observation-7",
        "label": "7",
        "coordinate": 7,
        "value": 50.9
      },
      {
        "id": "observation-8",
        "label": "8",
        "coordinate": 8,
        "value": 46.2
      },
      {
        "id": "observation-9",
        "label": "9",
        "coordinate": 9,
        "value": 55.1
      },
      {
        "id": "observation-10",
        "label": "10",
        "coordinate": 10,
        "value": 59.8
      },
      {
        "id": "observation-11",
        "label": "11",
        "coordinate": 11,
        "value": 51.3
      },
      {
        "id": "observation-12",
        "label": "12",
        "coordinate": 12,
        "value": 48.9
      },
      {
        "id": "observation-13",
        "label": "13",
        "coordinate": 13,
        "value": 50.7
      },
      {
        "id": "observation-14",
        "label": "14",
        "coordinate": 14,
        "value": 44.2
      },
      {
        "id": "observation-15",
        "label": "15",
        "coordinate": 15,
        "value": 52.6
      },
      {
        "id": "observation-16",
        "label": "16",
        "coordinate": 16,
        "value": 40.1
      },
      {
        "id": "observation-17",
        "label": "17",
        "coordinate": 17,
        "value": 49.8
      },
      {
        "id": "observation-18",
        "label": "18",
        "coordinate": 18,
        "value": 53.2
      },
      {
        "id": "observation-19",
        "label": "19",
        "coordinate": 19,
        "value": 47.6
      },
      {
        "id": "observation-20",
        "label": "20",
        "coordinate": 20,
        "value": 51.4
      },
      {
        "id": "observation-21",
        "label": "21",
        "coordinate": 21,
        "value": 56.3
      },
      {
        "id": "observation-22",
        "label": "22",
        "coordinate": 22,
        "value": 48.1
      },
      {
        "id": "observation-23",
        "label": "23",
        "coordinate": 23,
        "value": 50.5
      },
      {
        "id": "observation-24",
        "label": "24",
        "coordinate": 24,
        "value": 54.7
      },
      {
        "id": "observation-25",
        "label": "25",
        "coordinate": 25,
        "value": 49.3
      }
    ]
  },
  "calculation": {
    "order": "strictly-increasing-coordinate",
    "missing": "reject",
    "signal": "strictly-outside",
    "limits": {
      "source": "provided",
      "center": 50,
      "lower": 41.5,
      "upper": 58.5
    }
  },
  "layout": {
    "view": "series-and-limits",
    "margin": {
      "top": 24,
      "right": 20,
      "bottom": 56,
      "left": 48
    },
    "domain": {
      "source": "observations-and-limits",
      "padding": 5,
      "nice": true
    },
    "xTickMinimumSpacing": 40,
    "xMaximumTicks": 13,
    "yTicks": 5
  },
  "marks": {
    "line": {
      "color": "series.blue",
      "width": 2,
      "dash": ""
    },
    "limit": {
      "color": "negative",
      "width": 1.5,
      "dash": "6 3"
    },
    "center": {
      "color": "series.emerald",
      "width": 1.5,
      "dash": "4 4"
    },
    "points": {
      "color": "series.blue",
      "radius": 4,
      "signalColor": "negative",
      "signalRadius": 5,
      "signalStroke": "surface",
      "signalStrokeWidth": 2
    }
  },
  "labels": {
    "upper": "UCL",
    "center": "Mean",
    "lower": "LCL",
    "fontSize": 10,
    "limitGap": 4,
    "tooltipDecimals": 1,
    "signal": "Out of Control"
  },
  "interaction": {
    "zoom": true,
    "tooltip": true
  },
  "annotations": []
}
