mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 06:32:28 +08:00

* Moved Visualizations folder one level up. Fixed a bunch of broken relrefs. * More broken relrefs. * Fixed the last of the broken relrefs * Adjusted weight and added alias. * Added aliases to a bunch of visualization topics. * More topics with aliases. * More aliases, adjusted some weight and other metadata information.
56 lines
2.3 KiB
Markdown
56 lines
2.3 KiB
Markdown
+++
|
|
title = "Graph stacked time series"
|
|
keywords = ["grafana", "time series panel", "documentation", "guide", "graph"]
|
|
aliases =["/docs/grafana/latest/features/panels/histogram/", "/docs/grafana/latest/panels/visualizations/time-series/graph-time-series-stacking/"]
|
|
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.
|
|
|
|

|
|
|
|
### Off
|
|
|
|
Turn off series stacking. A series will share the same space in the visualization.
|
|
|
|

|
|
|
|
### Normal
|
|
|
|
Enable stacking series on top of each other.
|
|
|
|

|
|
|
|
## Stack series in groups
|
|
|
|
The stacking group option is only available as an override.
|
|
|
|
For more information about creating field overrides, refer to [Field overrides]({{< relref "../../panels/field-overrides.md" >}}).
|
|
|
|
Stack series in the same group. In the Overrides section:
|
|
|
|
1. Create a field override for **Stack series** option.
|
|
|
|

|
|
|
|
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.
|
|
|
|

|
|
|
|
A-series and B-series stacked in group A, C-series, and D-series stacked in group B:
|
|
|
|

|