{
  "version": "xarts.financial-series/1",
  "family": "financial-series",
  "provenance": {
    "legacyId": "candlestick"
  },
  "document": {
    "header": {
      "title": "Stock Price",
      "subtitle": "30 days of OHLC trading data"
    },
    "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": 500
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "output": {
    "filename": "candlestick",
    "embedSpec": true,
    "geometryDecimals": 2
  },
  "operation": "ohlc",
  "data": {
    "priceUnit": "USD",
    "volumeUnit": "shares",
    "coordinateLabel": "Date",
    "rows": [
      {
        "id": "session-1",
        "date": "2025-01-02",
        "open": 152.3,
        "high": 156.8,
        "low": 151.5,
        "close": 155.2,
        "volume": 28500000
      },
      {
        "id": "session-2",
        "date": "2025-01-03",
        "open": 155.5,
        "high": 158.9,
        "low": 154.2,
        "close": 157.4,
        "volume": 32100000
      },
      {
        "id": "session-3",
        "date": "2025-01-06",
        "open": 157.2,
        "high": 160.5,
        "low": 156.8,
        "close": 159.3,
        "volume": 29800000
      },
      {
        "id": "session-4",
        "date": "2025-01-07",
        "open": 159.8,
        "high": 162.4,
        "low": 158.9,
        "close": 161.1,
        "volume": 31200000
      },
      {
        "id": "session-5",
        "date": "2025-01-08",
        "open": 161,
        "high": 163.7,
        "low": 159.5,
        "close": 160.2,
        "volume": 27900000
      },
      {
        "id": "session-6",
        "date": "2025-01-09",
        "open": 160.5,
        "high": 161.8,
        "low": 157.3,
        "close": 158.6,
        "volume": 26400000
      },
      {
        "id": "session-7",
        "date": "2025-01-10",
        "open": 158.4,
        "high": 159.9,
        "low": 155.7,
        "close": 156.8,
        "volume": 30100000
      },
      {
        "id": "session-8",
        "date": "2025-01-13",
        "open": 157.1,
        "high": 160.3,
        "low": 156.4,
        "close": 159.5,
        "volume": 28700000
      },
      {
        "id": "session-9",
        "date": "2025-01-14",
        "open": 159.7,
        "high": 164.2,
        "low": 159.1,
        "close": 162.8,
        "volume": 35600000
      },
      {
        "id": "session-10",
        "date": "2025-01-15",
        "open": 163,
        "high": 166.5,
        "low": 162.3,
        "close": 165.4,
        "volume": 33800000
      },
      {
        "id": "session-11",
        "date": "2025-01-16",
        "open": 165.2,
        "high": 168.7,
        "low": 164.5,
        "close": 167.9,
        "volume": 37200000
      },
      {
        "id": "session-12",
        "date": "2025-01-17",
        "open": 168.1,
        "high": 170.8,
        "low": 166.9,
        "close": 169.5,
        "volume": 34500000
      },
      {
        "id": "session-13",
        "date": "2025-01-20",
        "open": 169.3,
        "high": 171.2,
        "low": 167.4,
        "close": 168.1,
        "volume": 29300000
      },
      {
        "id": "session-14",
        "date": "2025-01-21",
        "open": 168.5,
        "high": 170.9,
        "low": 166.2,
        "close": 167.3,
        "volume": 28100000
      },
      {
        "id": "session-15",
        "date": "2025-01-22",
        "open": 167,
        "high": 168.4,
        "low": 163.8,
        "close": 165.2,
        "volume": 31900000
      },
      {
        "id": "session-16",
        "date": "2025-01-23",
        "open": 165.5,
        "high": 167.2,
        "low": 162.9,
        "close": 164.1,
        "volume": 30500000
      },
      {
        "id": "session-17",
        "date": "2025-01-24",
        "open": 164.3,
        "high": 166.8,
        "low": 162.5,
        "close": 165.7,
        "volume": 27800000
      },
      {
        "id": "session-18",
        "date": "2025-01-27",
        "open": 166,
        "high": 169.4,
        "low": 165.3,
        "close": 168.2,
        "volume": 32400000
      },
      {
        "id": "session-19",
        "date": "2025-01-28",
        "open": 168.5,
        "high": 172.1,
        "low": 167.8,
        "close": 170.9,
        "volume": 34700000
      },
      {
        "id": "session-20",
        "date": "2025-01-29",
        "open": 171.2,
        "high": 174.6,
        "low": 170.4,
        "close": 173.5,
        "volume": 36100000
      },
      {
        "id": "session-21",
        "date": "2025-01-30",
        "open": 173.8,
        "high": 176.2,
        "low": 172.9,
        "close": 174.3,
        "volume": 33900000
      },
      {
        "id": "session-22",
        "date": "2025-01-31",
        "open": 174.1,
        "high": 177.5,
        "low": 173.2,
        "close": 176.8,
        "volume": 38500000
      },
      {
        "id": "session-23",
        "date": "2025-02-03",
        "open": 177,
        "high": 179.8,
        "low": 175.6,
        "close": 178.4,
        "volume": 35800000
      },
      {
        "id": "session-24",
        "date": "2025-02-04",
        "open": 178.2,
        "high": 180.9,
        "low": 176.5,
        "close": 177.6,
        "volume": 32600000
      },
      {
        "id": "session-25",
        "date": "2025-02-05",
        "open": 177.3,
        "high": 178.7,
        "low": 174.2,
        "close": 175.8,
        "volume": 31200000
      },
      {
        "id": "session-26",
        "date": "2025-02-06",
        "open": 176.1,
        "high": 178.5,
        "low": 173.9,
        "close": 177.2,
        "volume": 29700000
      },
      {
        "id": "session-27",
        "date": "2025-02-07",
        "open": 177.5,
        "high": 180.2,
        "low": 176.3,
        "close": 179.1,
        "volume": 33400000
      },
      {
        "id": "session-28",
        "date": "2025-02-10",
        "open": 179.4,
        "high": 182.3,
        "low": 178.7,
        "close": 180.9,
        "volume": 34900000
      },
      {
        "id": "session-29",
        "date": "2025-02-11",
        "open": 180.7,
        "high": 183.4,
        "low": 179.2,
        "close": 181.5,
        "volume": 36200000
      },
      {
        "id": "session-30",
        "date": "2025-02-12",
        "open": 181.3,
        "high": 184.1,
        "low": 180.5,
        "close": 182.8,
        "volume": 35100000
      }
    ]
  },
  "calculation": {
    "order": "strictly-increasing-utc-date",
    "missing": "reject",
    "sessions": "equally-spaced-observed",
    "doji": "bearish",
    "pricePadding": 0.1,
    "volumeZero": "empty-bars"
  },
  "layout": {
    "view": "candles-and-volume",
    "margin": {
      "top": 24,
      "right": 20,
      "bottom": 56,
      "left": 48
    },
    "volumeFraction": 0.15,
    "panelGap": 10,
    "bandPadding": 0.3,
    "xTicks": 6,
    "yTicks": 5,
    "axisInkPadding": 0,
    "axisMeasurementNumerals": "proportional-nums"
  },
  "marks": {
    "candle": {
      "bullish": "series.emerald",
      "bearish": "series.red",
      "neutral": "textMuted",
      "wickWidth": 1,
      "radius": 0,
      "opacity": 0.9,
      "minimumBodyPixels": 1
    },
    "volume": {
      "visible": true,
      "opacity": 0.3
    }
  },
  "labels": {
    "open": "Open",
    "high": "High",
    "low": "Low",
    "close": "Close",
    "volume": "Volume",
    "prefix": "$",
    "suffix": "",
    "decimals": 2,
    "annotationFontSize": 12,
    "annotationGap": 8
  },
  "interaction": {
    "zoom": true,
    "tooltip": true
  },
  "annotations": []
}
