{}OPF
DocsChart Types recordEdit on GitHub

100PCT_STACKED_BAR_3X

Metadata

ID

100pct-stacked-bar-3x

Catalog

chart-types

Source

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

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

Source JSON

100pct-stacked-bar-3x.json
{
  "$schema": "https://openpresentation.org/schema/opf-chart-type/v1",
  "id": "100pct-stacked-bar-3x",
  "name": "100PCT_STACKED_BAR_3X",
  "label": "100% Stacked Bar 3x",
  "mappings": {
    "openxml": {
      "element": "barChart",
      "barDir": "bar",
      "grouping": "percentStacked",
      "composition": "single"
    }
  },
  "categories": 6,
  "columns": [
    "Series 1",
    "Value 1",
    "Value 2",
    "Value 3"
  ],
  "group": "Bar",
  "groupSort": 4,
  "series": 3,
  "seriesGroups": 1,
  "slideNumber": 26,
  "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",
        67154,
        10221,
        78146,
        80575,
        97900,
        35825
      ],
      [
        "Value 2",
        57739,
        66531,
        19171,
        97062,
        53279,
        91678
      ],
      [
        "Value 3",
        51145,
        96951,
        26334,
        49363,
        76469,
        50538
      ]
    ]
  }
}