Skip to content

Combo

Combo charts mix series types (e.g. bars + line) via the combo config block.

js
{
  chartType: 'combo',
  isDataTransposed: true,
  seriesData: [
    ['', 'Q1', 'Q2', 'Q3', 'Q4'],
    ['Growth rate', 10, 20, 15, 25],
    ['Product A', 15, 10, 25, 20],
    ['Product B', 8, 12, 18, 14],
  ],
  combo: {
    seriesTypes: { 0: 'line' },
  },
  title: { visible: true, text: 'Revenue and growth' },
  subtitle: { visible: false, text: '' },
}

Series 0 renders as a line; remaining series default to bars. Use the editor to adjust series types and secondary-axis binding, then getChartData() for full layouts.

Sample

Live chart and copy-paste HTML: Combo sample.

Developer & LLM documentation · Not the end-user Help Center · Help Center