Skip to content

Stacked Area

js
{
  chartType: 'stackedArea', // or 'stackedArea100'
  isDataTransposed: true,
  seriesData: [
    ['', 'Q1', 'Q2', 'Q3', 'Q4'],
    ['Series A', 20, 28, 26, 32],
    ['Series B', 12, 14, 18, 16],
  ],
  title: { visible: true, text: 'Area mix' },
  subtitle: { visible: false, text: '' },
}

Type-specific styling lives under area (shared by both stacked variants). Legacy aliases area / area100 still resolve to stackedArea / stackedArea100.

Sample

Live chart and copy-paste HTML: Stacked area sample.

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