{"$schema":"https://pptx.dev/schema/registry.schema.json","name":"Stacked Bar","type":"registry:chart","registry_url":"https://opf.gallery/registry/charts/stacked-bar.json","dependencies":[],"opf_version":"1.0","slug":"stacked-bar","category":"charts","description":"Stacked Bar is an OPF bar chart preset with canonical workbook metadata, sample data, and engine chart type mapping.","web_url":"https://opf.gallery/charts/stacked-bar","opf":[{"name":"default","label":"Default OPF snippet","language":"json","source":"{\n  \"$schema\": \"https://openpresentation.org/schema/opf/v1\",\n  \"name\": \"OPF.gallery — charts/stacked-bar\",\n  \"description\": \"Stacked Bar is an OPF bar chart preset with canonical workbook metadata, sample data, and engine chart type mapping.\",\n  \"tags\": [\n    \"gallery:charts/stacked-bar\"\n  ],\n  \"slides\": [\n    {\n      \"id\": \"gallery-preview-1\",\n      \"layout\": \"chart\",\n      \"title\": \"Stacked Bar\",\n      \"subtitle\": \"Rank or compare categories when horizontal labels need room.\",\n      \"chart\": {\n        \"type\": \"stacked-bar\",\n        \"data\": {\n          \"columns\": [\n            \"Category\",\n            \"Value 1\",\n            \"Value 2\",\n            \"Value 3\"\n          ],\n          \"rows\": [\n            [\n              \"Q1 2024\",\n              19099,\n              99065,\n              33405\n            ],\n            [\n              \"Q2 2024\",\n              46585,\n              80282,\n              86099\n            ],\n            [\n              \"Q3 2024\",\n              56025,\n              53404,\n              44795\n            ],\n            [\n              \"Q4 2024\",\n              94080,\n              13617,\n              15014\n            ],\n            [\n              \"Q1 2025\",\n              76768,\n              25118,\n              24208\n            ],\n            [\n              \"Q2 2025\",\n              62386,\n              44237,\n              88193\n            ]\n          ]\n        }\n      }\n    }\n  ],\n  \"catalogs\": {\n    \"default\": {\n      \"source\": \"https://www.pptx.gallery\",\n      \"layouts\": {\n        \"chart\": {\n          \"name\": \"Chart\",\n          \"summary\": \"One to six charts, with an optional note.\",\n          \"tags\": [\n            \"Visuals\"\n          ],\n          \"direction\": \"column\",\n          \"regions\": [\n            {\n              \"name\": \"title\"\n            },\n            {\n              \"name\": \"body\",\n              \"accepts\": [\n                \"chart\",\n                \"group\",\n                \"diagram\"\n              ],\n              \"flow\": \"grid\"\n            },\n            {\n              \"name\": \"aside\",\n              \"size\": \"auto\",\n              \"accepts\": [\n                \"text\"\n              ],\n              \"role\": \"supporting\",\n              \"max\": 1\n            }\n          ],\n          \"description\": \"Give a chart enough space to show its evidence. Use the title to state the conclusion and labels to explain the measures.\",\n          \"preview\": {\n            \"vectorSrc\": \"https://www.pptx.gallery/layout-previews/chart.svg\"\n          }\n        }\n      }\n    }\n  }\n}","value":{"$schema":"https://openpresentation.org/schema/opf/v1","name":"OPF.gallery — charts/stacked-bar","description":"Stacked Bar is an OPF bar chart preset with canonical workbook metadata, sample data, and engine chart type mapping.","tags":["gallery:charts/stacked-bar"],"slides":[{"id":"gallery-preview-1","layout":"chart","title":"Stacked Bar","subtitle":"Rank or compare categories when horizontal labels need room.","chart":{"type":"stacked-bar","data":{"columns":["Category","Value 1","Value 2","Value 3"],"rows":[["Q1 2024",19099,99065,33405],["Q2 2024",46585,80282,86099],["Q3 2024",56025,53404,44795],["Q4 2024",94080,13617,15014],["Q1 2025",76768,25118,24208],["Q2 2025",62386,44237,88193]]}}}],"catalogs":{"default":{"source":"https://www.pptx.gallery","layouts":{"chart":{"name":"Chart","summary":"One to six charts, with an optional note.","tags":["Visuals"],"direction":"column","regions":[{"name":"title"},{"name":"body","accepts":["chart","group","diagram"],"flow":"grid"},{"name":"aside","size":"auto","accepts":["text"],"role":"supporting","max":1}],"description":"Give a chart enough space to show its evidence. Use the title to state the conclusion and labels to explain the measures.","preview":{"vectorSrc":"https://www.pptx.gallery/layout-previews/chart.svg"}}}}}}}],"copy_targets":[{"name":"registry_url","label":"Registry URL","content_type":"text/plain","value":"https://opf.gallery/registry/charts/stacked-bar.json"},{"name":"web_url","label":"Gallery URL","content_type":"text/plain","value":"https://opf.gallery/charts/stacked-bar"},{"name":"opf:default","label":"Default OPF snippet","content_type":"application/json","value":"{\n  \"$schema\": \"https://openpresentation.org/schema/opf/v1\",\n  \"name\": \"OPF.gallery — charts/stacked-bar\",\n  \"description\": \"Stacked Bar is an OPF bar chart preset with canonical workbook metadata, sample data, and engine chart type mapping.\",\n  \"tags\": [\n    \"gallery:charts/stacked-bar\"\n  ],\n  \"slides\": [\n    {\n      \"id\": \"gallery-preview-1\",\n      \"layout\": \"chart\",\n      \"title\": \"Stacked Bar\",\n      \"subtitle\": \"Rank or compare categories when horizontal labels need room.\",\n      \"chart\": {\n        \"type\": \"stacked-bar\",\n        \"data\": {\n          \"columns\": [\n            \"Category\",\n            \"Value 1\",\n            \"Value 2\",\n            \"Value 3\"\n          ],\n          \"rows\": [\n            [\n              \"Q1 2024\",\n              19099,\n              99065,\n              33405\n            ],\n            [\n              \"Q2 2024\",\n              46585,\n              80282,\n              86099\n            ],\n            [\n              \"Q3 2024\",\n              56025,\n              53404,\n              44795\n            ],\n            [\n              \"Q4 2024\",\n              94080,\n              13617,\n              15014\n            ],\n            [\n              \"Q1 2025\",\n              76768,\n              25118,\n              24208\n            ],\n            [\n              \"Q2 2025\",\n              62386,\n              44237,\n              88193\n            ]\n          ]\n        }\n      }\n    }\n  ],\n  \"catalogs\": {\n    \"default\": {\n      \"source\": \"https://www.pptx.gallery\",\n      \"layouts\": {\n        \"chart\": {\n          \"name\": \"Chart\",\n          \"summary\": \"One to six charts, with an optional note.\",\n          \"tags\": [\n            \"Visuals\"\n          ],\n          \"direction\": \"column\",\n          \"regions\": [\n            {\n              \"name\": \"title\"\n            },\n            {\n              \"name\": \"body\",\n              \"accepts\": [\n                \"chart\",\n                \"group\",\n                \"diagram\"\n              ],\n              \"flow\": \"grid\"\n            },\n            {\n              \"name\": \"aside\",\n              \"size\": \"auto\",\n              \"accepts\": [\n                \"text\"\n              ],\n              \"role\": \"supporting\",\n              \"max\": 1\n            }\n          ],\n          \"description\": \"Give a chart enough space to show its evidence. Use the title to state the conclusion and labels to explain the measures.\",\n          \"preview\": {\n            \"vectorSrc\": \"https://www.pptx.gallery/layout-previews/chart.svg\"\n          }\n        }\n      }\n    }\n  }\n}"}],"metadata":{"category":"charts","source_dimension":"charts","slug":"stacked-bar","page_url":"https://opf.gallery/charts/stacked-bar","api_url":"https://opf.gallery/api/charts.json","playground_url":"https://www.pptx.dev/inspector?config=charts:stacked-bar","opf_schema":{"name":"OPF Chart Preset","url":"https://openpresentation.org/schema/opf-chart-type/v1"},"source":{"$schema":"https://openpresentation.org/schema/opf-chart-type/v1","name":"Stacked Bar","mappings":{"openxml":{"element":"barChart","barDir":"bar","grouping":"stacked","composition":"single"}},"group":"Bar","groupSort":4,"series":2,"complexity":"simple","id":"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://opf.gallery/media/chart-previews/stacked-bar.f4800f8715c2.png","vectorSrc":"https://opf.gallery/media/chart-previews/stacked-bar.2faf0c254313.svg"},"pageDescription":"Stacked Bar is an OPF bar chart preset with canonical workbook metadata, sample data, and engine chart type mapping.","preview":{"src":"https://opf.gallery/media/chart-previews/stacked-bar.f4800f8715c2.png","vectorSrc":"https://opf.gallery/media/chart-previews/stacked-bar.2faf0c254313.svg"},"description":"Stacked Bar is an OPF bar chart preset with canonical workbook metadata, sample data, and engine chart type mapping."}}}