{
  "$schema": "https://openpresentation.org/schema/opf-chart-type/v1",
  "id": "stacked-bar",
  "name": "Stacked Bar",
  "mappings": {
    "openxml": {
      "element": "barChart",
      "barDir": "bar",
      "grouping": "stacked",
      "composition": "single"
    },
    "renderers": {
      "aspose-slides": {
        "chartType": "StackedBar"
      }
    }
  },
  "group": "Bar",
  "groupSort": 4,
  "series": 2,
  "complexity": "simple",
  "x-gallery": {
    "page": "https://www.pptx.gallery/charts/stacked-bar",
    "type": "STACKED_BAR",
    "categories": 6,
    "seriesGroups": 1,
    "useSecondaryCategories": false,
    "workbookRange": "Sheet1!$A$1:$G$4",
    "columns": [
      "Series 1",
      "Value 1",
      "Value 2",
      "Value 3"
    ],
    "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"
      },
      {
        "name": "Value 3",
        "role": "series",
        "type": "number",
        "position": "row3_col0"
      }
    ],
    "sampleData": {
      "headers": [
        "Series 1",
        "Q1 2024",
        "Q2 2024",
        "Q3 2024",
        "Q4 2024",
        "Q1 2025",
        "Q2 2025"
      ],
      "rows": [
        [
          "Value 1",
          19099,
          46585,
          56025,
          94080,
          76768,
          62386
        ],
        [
          "Value 2",
          99065,
          80282,
          53404,
          13617,
          25118,
          44237
        ],
        [
          "Value 3",
          33405,
          86099,
          44795,
          15014,
          24208,
          88193
        ]
      ]
    },
    "use_case": "Rank or compare categories when horizontal labels need room.",
    "data_requirements": "3 series, 6 categories, flat category/series workbook",
    "recommended_color_schemes": [
      "corporate-trust",
      "elegant-neutral"
    ],
    "when_to_use": "Use when category names are long, ranking is the main story, or progress should read left to right.",
    "when_to_avoid": "Avoid for dense time-series narratives where a line or area chart communicates direction better.",
    "best_practices": [
      "Sort bars by value when ranking",
      "Use a single accent for the key item",
      "Keep category labels readable"
    ],
    "pagePreview": {
      "src": "https://www.pptx.gallery/media/chart-previews/stacked-bar-3x.6a8d99c21095.png",
      "vectorSrc": "https://www.pptx.gallery/media/chart-previews/stacked-bar-3x.b886ab99ccde.svg"
    },
    "pageDescription": "Stacked Bar is an OPF bar chart preset with canonical workbook metadata, sample data, and engine chart type mapping."
  }
}
