{}OPF
DocsChart Types recordEdit on GitHub

LINE_2X

Metadata

ID

line-2x

Catalog

chart-types

Source

spec/catalogs/chart-types/line-2x.json

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

Source JSON

line-2x.json
{
  "$schema": "https://openpresentation.org/schema/opf-chart-type/v1",
  "id": "line-2x",
  "name": "LINE_2X",
  "label": "Line 2x",
  "mappings": {
    "openxml": {
      "element": "lineChart",
      "composition": "single"
    }
  },
  "categories": 12,
  "columns": [
    "Series 1",
    "Value 1",
    "Value 2"
  ],
  "group": "Line",
  "groupSort": 2,
  "series": 2,
  "seriesGroups": 1,
  "slideNumber": 11,
  "useSecondaryCategories": false,
  "workbookRange": "Sheet1!$A$1:$M$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",
      "Q1 2026",
      "Q2 2026",
      "Q3 2026",
      "Q4 2026"
    ],
    "rows": [
      [
        "Value 1",
        37760,
        80686,
        36365,
        50857,
        62296,
        98039,
        95180,
        58944,
        67422,
        77839,
        69177,
        25860
      ],
      [
        "Value 2",
        42493,
        39451,
        18392,
        54313,
        12757,
        87110,
        82603,
        40161,
        87128,
        38864,
        10942,
        19305
      ]
    ]
  }
}