Files
grafana/docs/sources/visualizations/time-series/graph-time-series-stacking.md
Christopher Moyer a568d421f8 Docs: Setup refactor (#49739)
* builds out refactored setup topics

* Automatically fix some relrefs with mv-manager

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Use refs for tutorials content which is outside of this repository

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Manually fix complicated relrefs

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* consolidates team sync and db encryption topics

* Fix relrefs

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* updates setup index file

* Convert TOML to YAML

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Add current alias for new alerting content

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Add current aliases to new setup-grafana and configure-security pages

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Update docs/sources/setup-grafana/configure-grafana/_index.md

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>

* moves saml docs, updates order in TOC

* Manually fix relrefs

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* added usage insights topics, adjusted weights

* corrected relrefs

* Fix relrefs broken in rebase

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-06-02 11:57:22 -05:00

64 lines
2.4 KiB
Markdown

---
aliases:
- /docs/grafana/latest/features/panels/histogram/
- /docs/grafana/latest/panels/visualizations/time-series/graph-time-series-stacking/
- /docs/grafana/latest/visualizations/time-series/graph-time-series-stacking/
keywords:
- grafana
- time series panel
- documentation
- guide
- graph
title: Graph stacked time series
weight: 400
---
# Graph stacked time series
This section explains how to use Time series panel field options to control the stacking of the series and illustrates what the stacking options do.
_Stacking_ allows Grafana to display series on top of each other. Be cautious when using stacking in the visualization as it can easily create misleading graphs. You can read more on why stacking may be not the best approach here: [Stacked Area Graphs Are Not Your Friend](https://everydayanalytics.ca/2014/08/stacked-area-graphs-are-not-your-friend.html).
Use the following field settings to configure your series stacking.
Some field options will not affect the visualization until you click outside of the field option box you are editing or press Enter.
## Stack series
Turn series stacking on or off.
![Stack series editor](/static/img/docs/time-series-panel/stack-series-editor-8-0.png)
### Off
Turn off series stacking. A series will share the same space in the visualization.
![No series stacking example](/static/img/docs/time-series-panel/stacking-off-8-0.png)
### Normal
Enable stacking series on top of each other.
![Normal series stacking example](/static/img/docs/time-series-panel/stacking-normal-8-0.png)
## Stack series in groups
The stacking group option is only available as an override.
For more information about creating field overrides, refer to [About field overrides]({{< relref "../../panels/override-field-values/about-field-overrides/" >}}).
Stack series in the same group. In the Overrides section:
1. Create a field override for **Stack series** option.
![Stack series override](/static/img/docs/time-series-panel/stacking-override-default-8-0.png)
1. Click on **Normal** stacking mode.
1. Name the stacking group you want the series to appear in. The stacking group name option is only available when creating an override.
![Stack series override editor](/static/img/docs/time-series-panel/stack-series-override-editor-8-0.png)
A-series and B-series stacked in group A, C-series, and D-series stacked in group B:
![Stacking groups example](/static/img/docs/time-series-panel/stack-series-groups-8-0.png)