{}OPF
DocsChart Types recordEdit on GitHub

BAR

Metadata

ID

bar

Catalog

chart-types

Source

spec/catalogs/chart-types/bar.json

FieldValue
labelBar
mappings{ "openxml": { "element": "barChart", "barDir": "bar", "grouping": "clustered", "composition": "single" } }
categories6
columnsSeries 1, Value
groupBar
groupSort4
series1
seriesGroups1
slideNumber21
useSecondaryCategoriesfalse
workbookRangeSheet1!$A$1:$G$2
complexitysimple

Source JSON

bar.json
{
  "$schema": "https://openpresentation.org/schema/opf-chart-type/v1",
  "id": "bar",
  "name": "BAR",
  "label": "Bar",
  "mappings": {
    "openxml": {
      "element": "barChart",
      "barDir": "bar",
      "grouping": "clustered",
      "composition": "single"
    }
  },
  "categories": 6,
  "columns": [
    "Series 1",
    "Value"
  ],
  "group": "Bar",
  "groupSort": 4,
  "series": 1,
  "seriesGroups": 1,
  "slideNumber": 21,
  "useSecondaryCategories": false,
  "workbookRange": "Sheet1!$A$1:$G$2",
  "complexity": "simple",
  "dataColumns": [
    {
      "name": "Series 1",
      "role": "categoryLabel",
      "type": "string",
      "position": "row0_col0"
    },
    {
      "name": "Value",
      "role": "series",
      "type": "number",
      "position": "row1_col0"
    }
  ],
  "sampleData": {
    "headers": [
      "Series 1",
      "Q1 2024",
      "Q2 2024",
      "Q3 2024",
      "Q4 2024",
      "Q1 2025",
      "Q2 2025"
    ],
    "rows": [
      [
        "Value",
        30257,
        41029,
        31299,
        33206,
        64040,
        13248
      ]
    ]
  }
}