{}OPF
DocsChart Types recordEdit on GitHub

STACKED_BAR_3X

Metadata

ID

stacked-bar-3x

Catalog

chart-types

Source

spec/catalogs/chart-types/stacked-bar-3x.json

FieldValue
labelStacked Bar 3x
mappings{ "openxml": { "element": "barChart", "barDir": "bar", "grouping": "stacked", "composition": "single" } }
categories6
columnsSeries 1, Value 1, Value 2, Value 3
groupBar
groupSort4
series3
seriesGroups1
slideNumber24
useSecondaryCategoriesfalse
workbookRangeSheet1!$A$1:$G$4
complexitysimple

Source JSON

stacked-bar-3x.json
{
  "$schema": "https://openpresentation.org/schema/opf-chart-type/v1",
  "id": "stacked-bar-3x",
  "name": "STACKED_BAR_3X",
  "label": "Stacked Bar 3x",
  "mappings": {
    "openxml": {
      "element": "barChart",
      "barDir": "bar",
      "grouping": "stacked",
      "composition": "single"
    }
  },
  "categories": 6,
  "columns": [
    "Series 1",
    "Value 1",
    "Value 2",
    "Value 3"
  ],
  "group": "Bar",
  "groupSort": 4,
  "series": 3,
  "seriesGroups": 1,
  "slideNumber": 24,
  "useSecondaryCategories": false,
  "workbookRange": "Sheet1!$A$1:$G$4",
  "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"
    },
    {
      "name": "Value 3",
      "role": "series",
      "type": "number",
      "position": "row3_col0"
    }
  ],
  "sampleData": {
    "headers": [
      "Series 1",
      "Q1 2024",
      "Q2 2024",
      "Q3 2024",
      "Q4 2024",
      "Q1 2025",
      "Q2 2025"
    ],
    "rows": [
      [
        "Value 1",
        19099,
        46585,
        56025,
        94080,
        76768,
        62386
      ],
      [
        "Value 2",
        99065,
        80282,
        53404,
        13617,
        25118,
        44237
      ],
      [
        "Value 3",
        33405,
        86099,
        44795,
        15014,
        24208,
        88193
      ]
    ]
  }
}