{}OPF
DocsChart Types recordEdit on GitHub

CLUSTERED_BAR_2X

Metadata

ID

clustered-bar-2x

Catalog

chart-types

Source

spec/catalogs/chart-types/clustered-bar-2x.json

FieldValue
labelClustered Bar 2x
mappings{ "openxml": { "element": "barChart", "barDir": "bar", "grouping": "clustered", "composition": "single" } }
categories6
columnsSeries 1, Value 1, Value 2
groupBar
groupSort4
series2
seriesGroups1
slideNumber22
useSecondaryCategoriesfalse
workbookRangeSheet1!$A$1:$G$3
complexitysimple

Source JSON

clustered-bar-2x.json
{
  "$schema": "https://openpresentation.org/schema/opf-chart-type/v1",
  "id": "clustered-bar-2x",
  "name": "CLUSTERED_BAR_2X",
  "label": "Clustered Bar 2x",
  "mappings": {
    "openxml": {
      "element": "barChart",
      "barDir": "bar",
      "grouping": "clustered",
      "composition": "single"
    }
  },
  "categories": 6,
  "columns": [
    "Series 1",
    "Value 1",
    "Value 2"
  ],
  "group": "Bar",
  "groupSort": 4,
  "series": 2,
  "seriesGroups": 1,
  "slideNumber": 22,
  "useSecondaryCategories": false,
  "workbookRange": "Sheet1!$A$1:$G$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"
    ],
    "rows": [
      [
        "Value 1",
        33509,
        53540,
        63964,
        97806,
        42527,
        44970
      ],
      [
        "Value 2",
        30866,
        24168,
        60140,
        15075,
        71694,
        39154
      ]
    ]
  }
}