{
  "$schema": "https://openpresentation.org/schema/opf-chart-type/v1",
  "id": "combo",
  "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."
    },
    "renderers": {
      "aspose-slides": {
        "chartType": "ClusteredColumn",
        "lineSeriesType": "LineWithMarkers"
      }
    }
  },
  "group": "Combo",
  "groupSort": 14,
  "series": 2,
  "complexity": "simple",
  "x-gallery": {
    "page": "https://www.pptx.gallery/charts/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": {
      "line": [
        "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://www.pptx.gallery/media/chart-previews/combo.53b9ff581211.png",
      "vectorSrc": "https://www.pptx.gallery/media/chart-previews/combo.95f24dfadbb8.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."
  }
}
