{}OPF
DocsChart Types recordEdit on GitHub

100PCT_STACKED_COLUMN_2X

Metadata

ID

100pct-stacked-column-2x

Catalog

chart-types

Source

spec/catalogs/chart-types/100pct-stacked-column-2x.json

FieldValue
label100% Stacked Column 2x
mappings{ "openxml": { "element": "barChart", "barDir": "col", "grouping": "percentStacked", "composition": "single" } }
categories8
columnsSeries 1, Value 1, Value 2
groupColumn
groupSort1
series2
seriesGroups1
slideNumber5
useSecondaryCategoriesfalse
workbookRangeSheet1!$A$1:$I$3
complexitysimple

Source JSON

100pct-stacked-column-2x.json
{
  "$schema": "https://openpresentation.org/schema/opf-chart-type/v1",
  "id": "100pct-stacked-column-2x",
  "name": "100PCT_STACKED_COLUMN_2X",
  "label": "100% Stacked Column 2x",
  "mappings": {
    "openxml": {
      "element": "barChart",
      "barDir": "col",
      "grouping": "percentStacked",
      "composition": "single"
    }
  },
  "categories": 8,
  "columns": [
    "Series 1",
    "Value 1",
    "Value 2"
  ],
  "group": "Column",
  "groupSort": 1,
  "series": 2,
  "seriesGroups": 1,
  "slideNumber": 5,
  "useSecondaryCategories": false,
  "workbookRange": "Sheet1!$A$1:$I$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"
    ],
    "rows": [
      [
        "Value 1",
        20458,
        40512,
        23238,
        59823,
        46434,
        69429,
        93320,
        57819
      ],
      [
        "Value 2",
        31319,
        58520,
        56566,
        37460,
        97841,
        44993,
        99593,
        94939
      ]
    ]
  }
}