{"$schema":"https://pptx.dev/schema/registry.schema.json","name":"Combo: Column and Line","type":"registry:chart","registry_url":"https://opf.gallery/registry/charts/combo.json","dependencies":[],"opf_version":"1.0","slug":"combo","category":"charts","description":"Combo: Column and Line is an OPF combo chart preset: clustered columns with a line series, the line on a secondary value axis in its own number format.","web_url":"https://opf.gallery/charts/combo","opf":[{"name":"default","label":"Default OPF snippet","language":"json","source":"{\n  \"$schema\": \"https://openpresentation.org/schema/opf/v1\",\n  \"name\": \"OPF.gallery — charts/combo\",\n  \"description\": \"Combo: Column and Line is an OPF combo chart preset: clustered columns with a line series, the line on a secondary value axis in its own number format.\",\n  \"tags\": [\n    \"gallery:charts/combo\"\n  ],\n  \"slides\": [\n    {\n      \"id\": \"gallery-preview-1\",\n      \"layout\": \"chart\",\n      \"title\": \"Combo: Column and Line\",\n      \"subtitle\": \"Show an amount and a rate for the same categories, such as revenue and margin by quarter.\",\n      \"chart\": {\n        \"type\": \"combo\",\n        \"data\": {\n          \"columns\": [\n            \"Category\",\n            {\n              \"name\": \"Revenue\",\n              \"format\": \"$#,##0.0\"\n            },\n            {\n              \"name\": \"Margin\",\n              \"format\": \"0%\"\n            }\n          ],\n          \"rows\": [\n            [\n              \"Q1 2025\",\n              12.4,\n              0.31\n            ],\n            [\n              \"Q2 2025\",\n              18.1,\n              0.34\n            ],\n            [\n              \"Q3 2025\",\n              21.7,\n              0.29\n            ],\n            [\n              \"Q4 2025\",\n              26.3,\n              0.37\n            ]\n          ]\n        },\n        \"lineSeries\": [\n          \"Margin\"\n        ],\n        \"secondaryAxis\": [\n          \"Margin\"\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/combo","description":"Combo: Column and Line is an OPF combo chart preset: clustered columns with a line series, the line on a secondary value axis in its own number format.","tags":["gallery:charts/combo"],"slides":[{"id":"gallery-preview-1","layout":"chart","title":"Combo: Column and Line","subtitle":"Show an amount and a rate for the same categories, such as revenue and margin by quarter.","chart":{"type":"combo","data":{"columns":["Category",{"name":"Revenue","format":"$#,##0.0"},{"name":"Margin","format":"0%"}],"rows":[["Q1 2025",12.4,0.31],["Q2 2025",18.1,0.34],["Q3 2025",21.7,0.29],["Q4 2025",26.3,0.37]]},"lineSeries":["Margin"],"secondaryAxis":["Margin"]}}],"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/combo.json"},{"name":"web_url","label":"Gallery URL","content_type":"text/plain","value":"https://opf.gallery/charts/combo"},{"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/combo\",\n  \"description\": \"Combo: Column and Line is an OPF combo chart preset: clustered columns with a line series, the line on a secondary value axis in its own number format.\",\n  \"tags\": [\n    \"gallery:charts/combo\"\n  ],\n  \"slides\": [\n    {\n      \"id\": \"gallery-preview-1\",\n      \"layout\": \"chart\",\n      \"title\": \"Combo: Column and Line\",\n      \"subtitle\": \"Show an amount and a rate for the same categories, such as revenue and margin by quarter.\",\n      \"chart\": {\n        \"type\": \"combo\",\n        \"data\": {\n          \"columns\": [\n            \"Category\",\n            {\n              \"name\": \"Revenue\",\n              \"format\": \"$#,##0.0\"\n            },\n            {\n              \"name\": \"Margin\",\n              \"format\": \"0%\"\n            }\n          ],\n          \"rows\": [\n            [\n              \"Q1 2025\",\n              12.4,\n              0.31\n            ],\n            [\n              \"Q2 2025\",\n              18.1,\n              0.34\n            ],\n            [\n              \"Q3 2025\",\n              21.7,\n              0.29\n            ],\n            [\n              \"Q4 2025\",\n              26.3,\n              0.37\n            ]\n          ]\n        },\n        \"lineSeries\": [\n          \"Margin\"\n        ],\n        \"secondaryAxis\": [\n          \"Margin\"\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":"combo","page_url":"https://opf.gallery/charts/combo","api_url":"https://opf.gallery/api/charts.json","playground_url":"https://www.pptx.dev/inspector?config=charts:combo","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":"Combo: Column and Line","summary":"Clustered columns with one or more line series, the lines optionally on a secondary value axis, for an amount beside a rate (revenue and margin %).","mappings":{"openxml":{"element":"barChart","barDir":"col","grouping":"clustered","composition":"mixed","series":[{"element":"barChart","barDir":"col","grouping":"clustered"},{"element":"lineChart","grouping":"standard","marker":true}],"notes":"One c:plotArea holds a c:barChart (clustered columns, primary axes) and a c:lineChart with markers. When chart.secondaryAxis is set, the secondary line series form a second c:lineChart on a second c:valAx (crosses max, at the right) and a deleted second c:catAx."}},"group":"Combo","groupSort":14,"series":2,"complexity":"simple","id":"combo","type":"CLUSTERED_COLUMN_LINE","categories":4,"seriesGroups":2,"useSecondaryCategories":false,"workbookRange":"Sheet1!$A$1:$E$3","columns":["Series 1","Revenue","Margin"],"dataColumns":[{"name":"Series 1","role":"categoryLabel","type":"string","position":"row0_col0"},{"name":"Revenue","role":"series","type":"number","position":"row1_col0"},{"name":"Margin","role":"series","type":"number","position":"row2_col0"}],"sampleData":{"headers":["Series 1","Q1 2025","Q2 2025","Q3 2025","Q4 2025"],"rows":[["Revenue",12.4,18.1,21.7,26.3],["Margin",0.31,0.34,0.29,0.37]],"formats":["$#,##0.0","0%"]},"opfChart":{"lineSeries":["Margin"],"secondaryAxis":["Margin"]},"use_case":"Show an amount and a rate for the same categories, such as revenue and margin by quarter.","data_requirements":"2 or more series, 4 categories; the last series (or the ones chart.line names) is drawn as a line, chart.secondaryAxis moves it to a right-hand axis","recommended_color_schemes":["corporate-trust","elegant-neutral"],"when_to_use":"Use when two measures share the categories but not the unit, so one value axis would flatten the smaller measure.","when_to_avoid":"Avoid when both measures share a unit and scale (use a clustered column or line chart), or when more than one or two lines would crowd the columns.","best_practices":["Put the rate on the secondary axis and give it a percent format","Title both value axes","Keep one or two line series"],"pagePreview":{"src":"https://opf.gallery/media/chart-previews/combo.56a987c5ac26.png","vectorSrc":"https://opf.gallery/media/chart-previews/combo.7209c2d2cc65.svg"},"pageDescription":"Combo: Column and Line is an OPF combo chart preset: clustered columns with a line series, the line on a secondary value axis in its own number format.","preview":{"src":"https://opf.gallery/media/chart-previews/combo.56a987c5ac26.png","vectorSrc":"https://opf.gallery/media/chart-previews/combo.7209c2d2cc65.svg"},"description":"Combo: Column and Line is an OPF combo chart preset: clustered columns with a line series, the line on a secondary value axis in its own number format."}}}