{
  "version": "xarts.ordered-series/1",
  "family": "ordered-series",
  "operation": "cumulative-recovery",
  "provenance": {
    "legacyId": "paybackperiod"
  },
  "data": {
    "kind": "cumulative-values",
    "timeLabel": "Month",
    "timeUnit": "months",
    "valueLabel": "Cumulative",
    "valueUnit": "$",
    "opening": 0,
    "rows": [
      {
        "id": "month-0",
        "time": 0,
        "value": -500000
      },
      {
        "id": "month-1",
        "time": 1,
        "value": -460000
      },
      {
        "id": "month-2",
        "time": 2,
        "value": -420000
      },
      {
        "id": "month-3",
        "time": 3,
        "value": -375000
      },
      {
        "id": "month-4",
        "time": 4,
        "value": -325000
      },
      {
        "id": "month-5",
        "time": 5,
        "value": -270000
      },
      {
        "id": "month-6",
        "time": 6,
        "value": -210000
      },
      {
        "id": "month-7",
        "time": 7,
        "value": -150000
      },
      {
        "id": "month-8",
        "time": 8,
        "value": -95000
      },
      {
        "id": "month-9",
        "time": 9,
        "value": -45000
      },
      {
        "id": "month-10",
        "time": 10,
        "value": -5000
      },
      {
        "id": "month-11",
        "time": 11,
        "value": 30000
      },
      {
        "id": "month-12",
        "time": 12,
        "value": 70000
      },
      {
        "id": "month-13",
        "time": 13,
        "value": 115000
      },
      {
        "id": "month-14",
        "time": 14,
        "value": 165000
      },
      {
        "id": "month-15",
        "time": 15,
        "value": 220000
      },
      {
        "id": "month-16",
        "time": 16,
        "value": 280000
      },
      {
        "id": "month-17",
        "time": 17,
        "value": 345000
      },
      {
        "id": "month-18",
        "time": 18,
        "value": 415000
      },
      {
        "id": "month-19",
        "time": 19,
        "value": 490000
      },
      {
        "id": "month-20",
        "time": 20,
        "value": 570000
      },
      {
        "id": "month-21",
        "time": 21,
        "value": 660000
      },
      {
        "id": "month-22",
        "time": 22,
        "value": 755000
      },
      {
        "id": "month-23",
        "time": 23,
        "value": 860000
      }
    ]
  },
  "calculation": {
    "crossing": "first-upcrossing",
    "domainPadding": 0.1,
    "zeroExtent": 1
  },
  "layout": {
    "margin": {
      "top": 40,
      "right": 40,
      "bottom": 84,
      "left": 88
    },
    "measureYAxis": true,
    "annotationTextMeasurement": "basic-pairs",
    "axisInkPadding": 12,
    "axisMeasurementNumerals": "proportional-nums",
    "exportTextMeasurement": "glyph-advances",
    "minimumPlotWidth": 40,
    "minimumPlotHeight": 30
  },
  "curve": {
    "interpolation": "monotone-x",
    "color": "series.blue",
    "width": 2.5,
    "clip": false
  },
  "zones": {
    "visible": true,
    "baseline": "zero",
    "negativeColor": "series.red",
    "positiveColor": "series.emerald",
    "opacity": 0.15
  },
  "baseline": {
    "visible": true,
    "color": "textMuted",
    "width": 1,
    "dash": "4,3"
  },
  "crossing": {
    "visible": true,
    "color": "series.amber",
    "radius": 5,
    "stroke": "surface",
    "strokeWidth": 2,
    "lineWidth": 1.5,
    "dash": "5,3",
    "label": "Payback: {time} {unit}",
    "decimals": 0,
    "fontSize": 11,
    "fontWeight": 600,
    "labelColor": "textPrimary",
    "background": "surface",
    "borderColor": "series.amber",
    "borderWidth": 0.5,
    "radiusLabel": 3,
    "paddingX": 8,
    "paddingY": 4,
    "characterWidth": 6.4,
    "boxOffsetY": -28,
    "labelOffsetY": -22
  },
  "axes": {
    "xTitle": "Months",
    "xPrefix": "M",
    "valuePrefix": "$",
    "xTicks": 8,
    "yTicks": 6,
    "yNice": true
  },
  "annotations": [],
  "interaction": {
    "tooltip": true
  },
  "document": {
    "header": {
      "title": "Investment Payback",
      "subtitle": "Cumulative cash flow and payback period analysis"
    },
    "footer": {
      "source": "xarts · demo data",
      "notes": "Illustrative data to explore the chart and replace with your own."
    },
    "spacing": {
      "horizontalPadding": 24,
      "topPadding": 22,
      "bottomPadding": 16,
      "minimumTextGap": 4
    }
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 800,
      "height": 500
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "output": {
    "filename": "paybackperiod-quality",
    "embedSpec": true,
    "geometryDecimals": 2
  }
}
