Edilitics | Data to Decisions

Stacked Area Chart

Track how multiple measures contribute to a combined total over time, with each measure's fill stacked on top of the last - volume and share together.

A stacked area chart shows multiple measures over time with each measure's filled area stacked on top of the previous one - the top edge represents the combined total, and each band's thickness represents that measure's individual contribution. Drop one date or ordered categorical field into Column and two or more numeric fields into Row. Use it when both the total volume and each measure's share of that volume matter together across a time series.

When to Use

The stacked area chart combines two things at once: the visual weight of a filled area, which emphasizes magnitude, and the composition view of stacking, which shows how multiple measures contribute to a whole. Use it for revenue broken down by product line, traffic broken down by channel, or any additive measure where both "how much in total" and "how much from each source" matter in the same view.

Only the bottom band has a zero baseline. Every band above the bottom one floats on the cumulative value of everything stacked below it - its position on the Y-axis does not directly represent its own value, only its thickness does. Comparing the precise value of a middle band requires the tooltip, not the eye. If precise comparison between measures matters more than the combined total, use a Stacked Line chart or switch this chart to Overlap mode.

Switch to a different chart when:

  • You have only one measure - use Area Chart
  • The visual density of fills makes the chart hard to read - use Stacked Line
  • The question is about percentage share rather than combined total - switch Stack Mode to 100% in this chart's own Format panel, or use a Stacked Bar chart if your dimension is categorical
  • Your dimension is categorical, not time-based - use Stacked Bar
ScenarioDimensionMeasures
Revenue by product line over the fiscal yearMonthSum of product A revenue, Sum of product B revenue, Sum of product C revenue
Total website traffic by channel over 90 daysDateCount of organic sessions, Count of paid sessions, Count of referral sessions
Storage used by data type over timeWeekSum of logs GB, Sum of media GB, Sum of backups GB
Active subscriptions by plan tier over timeMonthCount of basic plan, Count of pro plan, Count of enterprise plan
Support ticket volume by priority over timeWeekCount of low priority, Count of medium priority, Count of high priority

Required Inputs

FieldTypeCount
DimensionDate or Ordered CategoricalExactly 1
MeasureNumeric2 to 10

All measures must share the same unit when Stacked mode is on, since the combined total is the sum of all measures.

For step-by-step build instructions, see Build Your First Chart.

Formatting Options

The Format tab unlocks after at least one field is assigned. Once your chart is rendering, use these controls to define how it looks and how viewers interact with it.

Style

Use the chart title to state what the combined total represents and what the bands break it down by - viewers need this context before reading the stacked fills.

ControlWhat it does
Show Chart TitleShows or hides the title. The text is preserved when hidden so you can toggle it back without re-entering.
Enter Chart TitleTitle text. Maximum 50 characters.
Font familyFont applied to the title.
Font size5 to 30.
Bold / ItalicWeight and style.
AlignmentLeft, center, or right within the chart container.

Area Styles controls both the stacking behavior and the color palette applied across all series fills.

ControlWhat it does
Stacked / OverlapStacked (default): each measure's fill builds on top of the one below it, and the top edge is the combined total. Overlap: every measure's fill starts from zero and fills overlap each other with transparency - use this to compare the shape of each measure independently rather than read a combined total. With more than 3 measures in Overlap mode, overlapping transparent fills can blend into colors that do not match any single measure's assigned color, making it harder to tell which fill belongs to which series without the legend.
Gradient Start ColorThe color applied to the first measure's fill.
Gradient End ColorThe color applied to the last measure's fill. Measures in between are interpolated between Start and End. Each fill is also a vertical gradient that fades to transparent near its own baseline.

Stack Mode (the separate tab next to this one) only takes effect when Stacked / Overlap above is set to Stacked. Switching to Overlap and then to 100% Stack Mode has no visual effect, since percentage share only makes sense when fills are stacked on a shared total.

Switch between an absolute and a proportional view of the stacked total, without changing your field assignments. Only applies when Area Styles' Stacked / Overlap is set to Stacked.

ModeWhen to use
ValueStacks raw values. The top edge of the combined fill represents the actual total per time point. Use when the magnitude of the total matters alongside the breakdown.
100%Normalizes every time point's combined fill to 100% - this view is sometimes called a 100% stacked area chart. Each band's thickness shows its percentage share of the total at that point. The top edge is always at 100%, so the absolute total is no longer visible. Use when the question is purely about how each measure's share shifts over time.

In 100% mode, the Y-axis scale changes to 0-100 and axis labels show percentage signs. Data labels and tooltip values update to reflect percentages automatically.

Symbol Styles controls data point markers along the top edge of each band. The same symbol type and size applies to all series.

ControlWhat it does
Show SymbolsShows or hides the marker at each data point across all series. Turn off when the time series is dense and markers clutter the bands.
Symbol TypeThe marker shape across all series: Circle, Rectangle, Triangle, Diamond, Pin, Arrow, or None.
Symbol SizeDiameter of each marker, 0 to 20. Default is 7. Reduce for dense time series.

Data labels print values at each data point on each band. With multiple stacked or overlapping fills, labels collide unless the data is sparse. Use data labels only on charts with 2 to 3 measures and fewer than 10 time periods.

ControlWhat it does
Show Data LabelsShows or hides value labels at each data point.
Font familyFont applied to data labels.
Font sizeMaximum 18. Keep at 9 or 10 on charts with multiple bands to reduce collision.
Bold / Italic / ColorText styling. Choose colors with contrast against the fill - light text can disappear into a light-colored band.
PositionAlignment of the label relative to the data point. Top places the label above the point.
Number TypeDefault, Scientific, Decimal, or Percentage.
Display UnitNone, Thousand, Million, or Billion. Match to the Y-axis Display Unit.
Decimal Places0 to 6. Available when Number Type is not Default.

The legend is essential on a stacked area chart - without it, viewers cannot identify which band corresponds to which measure.

ControlWhat it does
Show LegendsShows or hides the legend. On by default.
Vertical positionTop, middle, or bottom alignment of the legend block.
Horizontal positionStart, center, or end alignment.
Show NameDefault: labels always visible. On Hover: labels appear only when viewer hovers the legend. Use Default on shared or exported dashboards.
OrientationVertical or Horizontal legend layout. Horizontal works best when measure names are short and there are 4 or fewer series.
Item GapSpacing between legend items.
Font SizeLegend label font size.
ColorLegend label text color.

Axes

The Y-axis represents the combined total in Stacked mode, or each measure's independent value in Overlap mode. Name it accordingly so viewers read the scale correctly for the mode you have selected.

Select X or Y before making changes. Settings apply to the selected axis only.

ControlWhat it does
Show Axis NameShows or hides the axis name label.
Axis name textLabel text. Maximum 20 characters. Defaults to the field name.
Font familyFont applied to the axis name.
Font size5 to 30.
Bold / ItalicWeight and style.
Offset (%)Distance between the axis name and the axis line. Increase if the name overlaps the axis labels.
AlignmentStart, center, or end along the axis.

Leave these at their defaults unless you are building a minimal dashboard layout.

Select X or Y before making changes.

ControlWhat it does
Show Axis LineShows or hides the axis line. Hiding it also hides ticks.
Line ColorColor of the axis line.
Line WidthThickness of the axis line, 0 to 5.
Line TypeSolid, Dashed, or Dotted.
Show TicksShows or hides tick marks on the axis line.
Tick ColorColor of the tick marks.
Tick LengthLength of the tick marks, 5 to 10.
Boundary GapWhen off, the bands start and end at the chart edges. Turn off for a clean edge-to-edge time series.

Select X or Y before making changes. Hiding axis labels also hides the axis name.

ControlWhat it does
Show Axis LabelShows or hides labels along the axis.
Font familyFont applied to axis labels.
Font sizeLabel font size.
Bold / Italic / ColorText styling.
RotationAngle of label text. Useful on X-axis when date labels are long and overlap.
Text caseTitle Case, Uppercase, or Lowercase. Available on the categorical axis (X) only.
Display UnitAuto, None, Thousand, Million, or Billion. Available on the value axis (Y) only. In Stacked mode, this represents the combined total - set Display Unit to match the scale of that total, not individual measures.

Y-axis grid lines help viewers read the top edge of the stack against the value scale. Keep them on.

Select X or Y before making changes.

ControlWhat it does
Show GridlinesShows or hides grid lines for the selected axis.
Grid ColorColor of the grid lines. Choose a color with contrast against the area fills.
Left / Right / Top / BottomPlot area margins as a percentage. Increase Top when the topmost band's data labels are clipped. Increase Bottom when X-axis date labels overflow.

Interactivity

The tooltip is essential on a stacked area chart. Set Trigger to Axis - it shows all measure values for the hovered time point in one pop-up, which is the only reliable way to read exact values for bands above the bottom one.

ControlWhat it does
Show TooltipShows or hides the tooltip on hover. Keep on.
TriggerItem: tooltip shows data for the specific hovered band only. Axis: tooltip shows all measure values for the hovered time point. Always use Axis.
PointerWhen Trigger is Axis: Line, Shadow, Cross, or None. Line draws a vertical rule at the hovered time point and reads clearly against filled bands.
Background ColorTooltip background color.
Headers / Values tabsSeparate styling for the time period label row (Headers) and the measure value rows (Values). The Values tab includes Number Type, Display Unit, and Decimal Places.

Keep animation on when presenting the chart for the first time - the progressive build draws attention to how the total accumulates across bands. Turn it off on dashboards that auto-refresh.

ControlWhat it does
Enable AnimationTurns the draw animation on or off.
DurationHow long the animation runs, 0 to 3000ms. Default is 1000ms.
DelayTime before the animation starts after the chart loads, 0 to 2000ms.
Easing FunctionThe motion curve. Cubic Out (the default) gives a natural deceleration.

Enable Data Zoom for time series with more than around 60 data points, or when viewers need to focus on a specific date range.

ControlWhat it does
Show Data ZoomShows or hides the zoom control.
Zoom TypeSlider: a draggable range bar below the chart. Inside: scroll-to-zoom on the plot area. Use Slider for dashboards.
Slider Size (px)Height of the slider bar, 10 to 100.
PositionPosition of the slider relative to the chart.
AlignmentAlignment of the slider control.
OrientationHorizontal for a stacked area chart - scrolls through the time axis.
Show Detail LabelShows the date or category values at the slider handles.
Background ColorSlider background.
Filler ColorColor of the selected range inside the slider.
Border ColorSlider border.
Handle ColorColor of the drag handles.
Brush SelectionEnables click-and-drag to zoom into a range.

Avoid Zoom Type "Inside" on dashboards that viewers scroll with a trackpad. Scroll events captured by the chart zoom the chart instead of scrolling the page.

Series focus is the most useful emphasis mode here - it highlights one measure's band at a time and dims the rest, letting viewers trace a single measure through the stack without losing it among adjacent bands.

ControlWhat it does
Show EmphasisEnables or disables the hover effect.
Focus TypeItem: highlights the hovered data point only. Series: highlights the entire hovered band and dims all others - use this with more than 3 measures. None: no visual change on hover.
Enable ScaleScales the hovered marker slightly larger.
Scale SizeHow much the marker scales. Keep at 1.2 or below.

Enable the Toolbox when viewers need to export the chart or inspect the exact values behind each band at a given time point.

ControlWhat it does
Show ToolboxShows or hides the toolbox icon bar.
Save as ImageAdds a download icon that saves the chart as a PNG.
Data ViewAdds an icon that opens the underlying data table in the chart area.

Best Practices

Use Stacked mode for totals, Overlap mode for independent comparison. Stacked mode is the default and is right when the combined total matters. Switch to Overlap when you want to see each measure's own trend shape without the visual weight of a running total - useful when measures have very different magnitudes and stacking would make smaller ones invisible. In Overlap mode, keep measure count at 3 or fewer - beyond that, overlapping transparent fills blend into colors that don't match any single series, and viewers will need the legend to identify each fill.

Only stack measures in the same unit. In Stacked mode, the chart adds each measure's value on top of the previous one. Mixing units (revenue with headcount) produces a combined total that has no real meaning.

Always use Axis tooltip trigger. Bands above the bottom one do not have a zero baseline - their vertical position does not directly encode their value. The tooltip is the only reliable way to read exact values for these bands.

Keep measure count at 4 or fewer. Beyond 4 measures, bands become thin and hard to distinguish, especially in Stacked mode where middle bands are squeezed between others. Pre-aggregate minor measures into an "Other" category in Transform if you have more than 4.

Resolve null values before publishing. In Stacked mode, a null in one measure shifts the position of every band stacked above it at that time point, creating a visible distortion. The builder's null value prompt offers Filter Data or Show data at default position - use Transform for more control such as forward-filling.

FAQs

Need help? Email support@edilitics.com with your workspace, job ID, and context. We reply within one business day.

Last updated on

On this page