---
url: https://chartbuddy.io/extension/docs/chart-types/stacked-bar.md
---
> Docs index: [llms.txt](https://chartbuddy.io/extension/docs/llms.txt)

# Stacked Bar

A Stacked Bar chart splits each bar into one segment per series. The bar's height is the category's total and the segments show what it is made of. To compare the mix instead of the size, use [100% Stacked Bar](https://chartbuddy.io/extension/docs/chart-types/stacked-bar-100.md); to compare series side by side, use [Clustered Bar](https://chartbuddy.io/extension/docs/chart-types/clustered-bar.md).

## When to use it

* Revenue per quarter split by product, region or channel.
* Headcount per team split by role.
* Any total where both the total and its largest parts matter.

Keep it to a handful of series: segments in the middle of a stack are hard to compare, because they do not start from the same baseline.

## Create one

1. Click the Chartbuddy button on the slide, then **Create chart**.
2. In **Create New Chart**, click **Stacked Bar** under **Bar Charts**.
3. Click **New Stacked Bar**, or pick a template under **Templates**.

![Create New Chart with Stacked Bar selected](https://chartbuddy.io/images/chart-types/stacked-bar/00-create.png)

### Data layout

In the [data window](https://chartbuddy.io/extension/docs/data.md), the first column holds the categories (one per bar) and each column after it is a series (one segment per bar). The first row holds the series names.

| | Series 1 | Series 2 |
|---|---|---|
| Q1 | 10 | 15 |
| Q2 | 20 | 10 |
| Q3 | 15 | 25 |

Negative values stack below the axis.

## Stack order

The segments stack in the order of the rows in the data window. To flip that order without changing the data, click a bar: the toolbar shows **Segment Order** with a **Segment order** dropdown. Choose **Sheet order** or **Reversed sheet order**. The control appears once the chart has at least two visible series.

The same control is on [100% Stacked Bar](https://chartbuddy.io/extension/docs/chart-types/stacked-bar-100.md), [Clustered Bar](https://chartbuddy.io/extension/docs/chart-types/clustered-bar.md), [Marimekko](https://chartbuddy.io/extension/docs/chart-types/marimekko.md), [Bar Mekko](https://chartbuddy.io/extension/docs/chart-types/bar-mekko.md), [Combo](https://chartbuddy.io/extension/docs/chart-types/combo.md) with stacked bars, and the stacked area charts.

![The Segment Order dropdown](https://chartbuddy.io/images/chart-types/stacked-bar/01-segment-order.png)

## Options

Click an empty part of the chart so nothing is selected. The toolbar shows **Chart Settings**:

* **Chart type** switches to another bar, line, area or Mekko type and keeps the data.
* **Series** – **Manage Series** opens a table of the series, where you can hide one (**Visible**), drop it from the legend (**Legend**) and set its color (**Fill**). Its **Type** buttons (**Line**, **Stacked bar**, **Clustered bar**) switch a series to a line, which turns the chart into a [Combo](https://chartbuddy.io/extension/docs/chart-types/combo.md), or switch all bars between stacked and clustered.
* **Orientation** switches between **Vertical bars** and **Horizontal bars**.
* **Style** – **Quick style** applies a ready-made look.

Right-click a bar for **Show data label for this bar**, **Show total label for this column** and the annotations; right-click a series' legend key for **Show data labels for this series** ([difference arrows](https://chartbuddy.io/extension/docs/annotations.md), [CAGR](https://chartbuddy.io/extension/docs/annotations/cagr.md), [level arrows](https://chartbuddy.io/extension/docs/annotations/level-arrows-and-lines.md)).

### Tips

* Total labels above each stack come from **Show total labels**; see [Data labels and totals](https://chartbuddy.io/extension/docs/formatting/data-labels-and-totals.md#totals).
* Put the series you want readers to compare at the bottom of the stack, where it sits on the axis. **Reversed sheet order** does that without reordering the sheet.

## Related

* [100% Stacked Bar](https://chartbuddy.io/extension/docs/chart-types/stacked-bar-100.md) – the same chart with every bar at 100%
* [Colours and fill](https://chartbuddy.io/extension/docs/formatting/colours-and-fill.md) – segment colors and outlines
* [Axes and gridlines](https://chartbuddy.io/extension/docs/formatting/axes-and-gridlines.md) – value axis, gridlines and category labels
* [Right-click menus](https://chartbuddy.io/extension/docs/reference/right-click-menus.md#bars) – everything in the bar menu
