{
  "$schema": "../_schema.json",
  "format": "xlsx",
  "element": "chart-series",
  "elementAliases": ["series", "chartseries"],
  "parent": "chart",
  "operations": {
    "add": true,
    "set": true,
    "get": true,
    "remove": false
  },
  "paths": {
    "positional": [
      "/SheetName/chart[N]/series[K]"
    ]
  },
  "note": "At chart-Add time, series pass as dotted props on the parent chart (series1.name, series1.values, series1.color, series1.categories); afterwards `add --type chart-series` on the chart parent (/SheetName/chart[N]) appends a series — values/categories accept cell ranges (resolved to refs with cached snapshots) or literal comma-separated data; the chart must already have at least one series to derive structure from. Combo charts (mixed chartType / secondary axis) are unsupported — create separate charts. `lineStyle` is not a key (rejected as UNSUPPORTED — use lineWidth + lineDash). remove is NOT supported on this element: recreate the chart with the full series list instead.",
  "extends": [
    "_shared/chart-series",
    "_shared/chart-series.pptx-xlsx"
  ],
  "properties": {
    "valuesRef": {
      "type": "string",
      "add": false,
      "set": false,
      "get": true,
      "description": "A1 cell range backing the series values.",
      "readback": "A1 range string",
      "enforcement": "report"
    },
    "trendline.dispEq": {
      "type": "bool",
      "add": false,
      "set": false,
      "get": true,
      "description": "trendline displayEquation flag.",
      "readback": "true when shown",
      "enforcement": "report"
    },
    "trendline.dispRSqr": {
      "type": "bool",
      "add": false,
      "set": false,
      "get": true,
      "description": "trendline displayRSquaredValue flag.",
      "readback": "true when shown",
      "enforcement": "report"
    }
  }
}