{}OPF
DocsChart Types recordEdit on GitHub

LINE

Metadata

ID

line

Catalog

chart-types

Source

spec/catalogs/chart-types/line.json

FieldValue
labelLine
mappings{ "openxml": { "element": "lineChart", "composition": "single" } }
categories12
columnsSeries 1, Value
groupLine
groupSort2
series1
seriesGroups1
slideNumber9
useSecondaryCategoriesfalse
workbookRangeSheet1!$A$1:$M$2
complexitysimple

Source JSON

line.json
{
  "$schema": "https://openpresentation.org/schema/opf-chart-type/v1",
  "id": "line",
  "name": "LINE",
  "label": "Line",
  "mappings": {
    "openxml": {
      "element": "lineChart",
      "composition": "single"
    }
  },
  "categories": 12,
  "columns": [
    "Series 1",
    "Value"
  ],
  "group": "Line",
  "groupSort": 2,
  "series": 1,
  "seriesGroups": 1,
  "slideNumber": 9,
  "useSecondaryCategories": false,
  "workbookRange": "Sheet1!$A$1:$M$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",
      "Q3 2025",
      "Q4 2025",
      "Q1 2026",
      "Q2 2026",
      "Q3 2026",
      "Q4 2026"
    ],
    "rows": [
      [
        "Value",
        74042,
        12552,
        24662,
        57576,
        50306,
        41385,
        17592,
        41571,
        84364,
        20322,
        21226,
        73699
      ]
    ]
  }
}