{}OPF
DocsChart Types recordEdit on GitHub

STACKED_LINE_2X

Metadata

ID

stacked-line-2x

Catalog

chart-types

Source

spec/catalogs/chart-types/stacked-line-2x.json

FieldValue
labelStacked Line 2x
mappings{ "openxml": { "element": "lineChart", "grouping": "stacked", "composition": "single" } }
categories12
columnsSeries 1, Value 1, Value 2
groupLine
groupSort2
series2
seriesGroups1
slideNumber13
useSecondaryCategoriesfalse
workbookRangeSheet1!$A$1:$M$3
complexitysimple

Source JSON

stacked-line-2x.json
{
  "$schema": "https://openpresentation.org/schema/opf-chart-type/v1",
  "id": "stacked-line-2x",
  "name": "STACKED_LINE_2X",
  "label": "Stacked Line 2x",
  "mappings": {
    "openxml": {
      "element": "lineChart",
      "grouping": "stacked",
      "composition": "single"
    }
  },
  "categories": 12,
  "columns": [
    "Series 1",
    "Value 1",
    "Value 2"
  ],
  "group": "Line",
  "groupSort": 2,
  "series": 2,
  "seriesGroups": 1,
  "slideNumber": 13,
  "useSecondaryCategories": false,
  "workbookRange": "Sheet1!$A$1:$M$3",
  "complexity": "simple",
  "dataColumns": [
    {
      "name": "Series 1",
      "role": "categoryLabel",
      "type": "string",
      "position": "row0_col0"
    },
    {
      "name": "Value 1",
      "role": "series",
      "type": "number",
      "position": "row1_col0"
    },
    {
      "name": "Value 2",
      "role": "series",
      "type": "number",
      "position": "row2_col0"
    }
  ],
  "sampleData": {
    "headers": [
      "Series 1",
      "Q1 2024",
      "Q2 2024",
      "Q3 2024",
      "Q4 2024",
      "Q1 2025",
      "Q2 2025",
      "Q3 2025",
      "Q4 2025",
      "Q1 2026",
      "Q2 2026",
      "Q3 2026",
      "Q4 2026"
    ],
    "rows": [
      [
        "Value 1",
        96374,
        66498,
        56438,
        65519,
        63883,
        71213,
        17100,
        98259,
        95649,
        94696,
        22899,
        17944
      ],
      [
        "Value 2",
        62772,
        54473,
        24322,
        42591,
        35112,
        34931,
        80292,
        68800,
        28373,
        65296,
        34050,
        46509
      ]
    ]
  }
}