# \#stacking

**URL:** https://community.grafana.com/tag/stacking/147.md

[Latest](https://community.grafana.com/latest.md) · [Categories](https://community.grafana.com/categories.md) · [Tags](https://community.grafana.com/tags.md)

---

## [Mongodb stacked bar chart](https://community.grafana.com/t/mongodb-stacked-bar-chart/158341)

<div class="topic-metadata">

**Author:** [@chrisjamadori](https://community.grafana.com/u/chrisjamadori)\
**Replies:** 2\
**Last updated:** [October 10, 2025, 4:05pm UTC](https://community.grafana.com/t/mongodb-stacked-bar-chart/158341 "2025-10-10T16:05:32Z")

</div>

Hello, I’m trying to create a stacked bar chart from data stored in a mongo db via grafana cloud mongodb plugin When I run the mongodb query in grafana cloud, the data in table format are shown as per following: event…

---

## [Query on stacked bar graph](https://community.grafana.com/t/query-on-stacked-bar-graph/150112)

<div class="topic-metadata">

**Author:** [@jpraok](https://community.grafana.com/u/jpraok)\
**Replies:** 4\
**Last updated:** [May 12, 2025, 3:13am UTC](https://community.grafana.com/t/query-on-stacked-bar-graph/150112 "2025-05-12T03:13:22Z")

</div>

I am using grafana version 11.6 on linux machine I want to show category wise sales on daily basis, I use postgreSql table (sales\_summary) with 3 columns as data source. sales\_date category sales\_amount. I want to s…

---

## [Grafana Bar Chart Horizontal stack : Font not responsive or adaptable?](https://community.grafana.com/t/grafana-bar-chart-horizontal-stack-font-not-responsive-or-adaptable/141376)

<div class="topic-metadata">

**Author:** [@fabienmrlc](https://community.grafana.com/u/fabienmrlc)\
**Replies:** 0\
**Last updated:** [January 27, 2025, 9:01am UTC](https://community.grafana.com/t/grafana-bar-chart-horizontal-stack-font-not-responsive-or-adaptable/141376 "2025-01-27T09:01:46Z")

</div>

Grafana V11.2.0, Chrome 131.06778.265 Hello, I want to show values with Bar chart Horizontal Stack. I have multiple clusters so I need to display the same vizualisation multiple time. Depending on the values, the Fon…

---

## [Dashboard Bar Gauge](https://community.grafana.com/t/dashboard-bar-gauge/136423)

<div class="topic-metadata">

**Author:** [@joergkauke](https://community.grafana.com/u/joergkauke)\
**Replies:** 6\
**Last updated:** [November 21, 2024, 8:24am UTC](https://community.grafana.com/t/dashboard-bar-gauge/136423 "2024-11-21T08:24:58Z")

</div>

Dear Community, dear pros. I just started with Grafana and try to using it for system metrics like CPU, memory and so on. The data comes from Prometheus. My problem is to get a Bar Gauge dashboard for all my CPU threa…

---

## [Mssql query - Unable to stack graph bars by a field](https://community.grafana.com/t/mssql-query-unable-to-stack-graph-bars-by-a-field/136617)

<div class="topic-metadata">

**Author:** [@matanmalka](https://community.grafana.com/u/matanmalka)\
**Replies:** 1\
**Last updated:** [November 21, 2024, 7:59am UTC](https://community.grafana.com/t/mssql-query-unable-to-stack-graph-bars-by-a-field/136617 "2024-11-21T07:59:43Z")

</div>

What Grafana version and what operating system are you using? Grafana v10.4.0 What are you trying to achieve? I have an SQL query that returns test status by date; I’m trying to stack the bars by date, so I will h…

---

## [Unable to Stack Graph Bars by Field Values in Grafana](https://community.grafana.com/t/unable-to-stack-graph-bars-by-field-values-in-grafana/135976)

<div class="topic-metadata">

**Author:** [@navaneethsen](https://community.grafana.com/u/navaneethsen)\
**Replies:** 4\
**Last updated:** [November 8, 2024, 9:00pm UTC](https://community.grafana.com/t/unable-to-stack-graph-bars-by-field-values-in-grafana/135976 "2024-11-08T21:00:30Z")

</div>

What Grafana version and what operating system are you using? Grafana v11.3.0 on MacOS 15.1 What are you trying to achieve? I’m trying to create a stacked bar chart where unique values on the bucket field are displaye…

---

## [Stacking Bar Chart with Subgroups](https://community.grafana.com/t/stacking-bar-chart-with-subgroups/133279)

<div class="topic-metadata">

**Author:** [@lyraeixis](https://community.grafana.com/u/lyraeixis)\
**Replies:** 3\
**Last updated:** [October 1, 2024, 5:24pm UTC](https://community.grafana.com/t/stacking-bar-chart-with-subgroups/133279 "2024-10-01T17:24:53Z")

</div>

Hey there! I’m very new to Grafana and am trying to evaluate it as a network and security visualization platform for a small business. As part of security monitoring, I want to graph user logins by user and IP so that I …

---

## [How to do a stacked bar chart with different elasticsearch queries](https://community.grafana.com/t/how-to-do-a-stacked-bar-chart-with-different-elasticsearch-queries/128873)

<div class="topic-metadata">

**Author:** [@manuelmontesdeoca](https://community.grafana.com/u/manuelmontesdeoca)\
**Replies:** 3\
**Last updated:** [September 18, 2024, 11:45pm UTC](https://community.grafana.com/t/how-to-do-a-stacked-bar-chart-with-different-elasticsearch-queries/128873 "2024-09-18T23:45:23Z")

</div>

I have 2 different queries that return the same table fields: allow and block, but with the values of each query. The returned series have the same name. I don’t know how to name them after the query name (I don’t kn…

---

## [Stack data with Bar Chart visualization and Zabbix datasource](https://community.grafana.com/t/stack-data-with-bar-chart-visualization-and-zabbix-datasource/124701)

<div class="topic-metadata">

**Author:** [@cyberphantom](https://community.grafana.com/u/cyberphantom)\
**Replies:** 1\
**Last updated:** [July 26, 2024, 12:03pm UTC](https://community.grafana.com/t/stack-data-with-bar-chart-visualization-and-zabbix-datasource/124701 "2024-07-26T12:03:41Z")

</div>

What Grafana version and what operating system are you using? Grafana v10.4.2 on Ubuntu What are you trying to achieve? I’m monitoring some nodes and their running services on Zabbix. I’m receiving data like: N…

---

## [Stack barchart and values](https://community.grafana.com/t/stack-barchart-and-values/124280)

<div class="topic-metadata">

**Author:** [@lterci](https://community.grafana.com/u/lterci)\
**Replies:** 2\
**Last updated:** [June 19, 2024, 5:22am UTC](https://community.grafana.com/t/stack-barchart-and-values/124280 "2024-06-19T05:22:45Z")

</div>

Hi all I am wondering if there is a solution to modify the value location on a bar chart with stacked values. On below chart you can see that the value is shown above the bar. 3911 correspond to blue color but is shown…

---

## [How to show the tooltip values in percentage](https://community.grafana.com/t/how-to-show-the-tooltip-values-in-percentage/119469)

<div class="topic-metadata">

**Author:** [@goncalosimoesbastos](https://community.grafana.com/u/goncalosimoesbastos)\
**Replies:** 0\
**Last updated:** [April 15, 2024, 7:43pm UTC](https://community.grafana.com/t/how-to-show-the-tooltip-values-in-percentage/119469 "2024-04-15T19:43:09Z")

</div>

Hello guys, I have a time series panel in Grafana, and it’s stacked 100%, and I would like to know if it’s possible to display the values on the tooltip as percentage to. So right now, my panel looks like And this i…

---

## [Issue when stacking time series with mixed datasource (Grafana version 9.1)](https://community.grafana.com/t/issue-when-stacking-time-series-with-mixed-datasource-grafana-version-9-1/117859)

<div class="topic-metadata">

**Author:** [@lpinochi](https://community.grafana.com/u/lpinochi)\
**Replies:** 4\
**Last updated:** [March 27, 2024, 1:11pm UTC](https://community.grafana.com/t/issue-when-stacking-time-series-with-mixed-datasource-grafana-version-9-1/117859 "2024-03-27T13:11:31Z")

</div>

What Grafana version and what operating system are you using? Grafana version 9.1 OS: Redhat linux 8.4 What are you trying to achieve? Correctly stack time series from different datasources. How are you trying …

---

## [Creating a stacking bar by different groups](https://community.grafana.com/t/creating-a-stacking-bar-by-different-groups/115092)

<div class="topic-metadata">

**Author:** [@rezasaha](https://community.grafana.com/u/rezasaha)\
**Replies:** 1\
**Last updated:** [February 21, 2024, 9:49pm UTC](https://community.grafana.com/t/creating-a-stacking-bar-by-different-groups/115092 "2024-02-21T21:49:53Z")

</div>

I am trying to create a bar which should group the data and then within each group, it will indicate the sub-group. For example. I have a list of customers with different plan and need to know how many of them are accep…

---

## [How to create a stacked bar chart for not time series (Grafana 8.5.20)](https://community.grafana.com/t/how-to-create-a-stacked-bar-chart-for-not-time-series-grafana-8-5-20/110824)

<div class="topic-metadata">

**Author:** [@wintanahabte28](https://community.grafana.com/u/wintanahabte28)\
**Replies:** 0\
**Last updated:** [December 27, 2023, 9:22am UTC](https://community.grafana.com/t/how-to-create-a-stacked-bar-chart-for-not-time-series-grafana-8-5-20/110824 "2023-12-27T09:22:51Z")

</div>

Hi, I am using the Grafana free version 8.5.20 and i want to build a stacked bar chart for gender distribution depending on age groups (like in the mockup below). However, when I choose “Bar Chart” → Stacked → Normal i…

---

## [Grafana Bar Chart "Stacking Percent"](https://community.grafana.com/t/grafana-bar-chart-stacking-percent/110672)

<div class="topic-metadata">

**Author:** [@matterch](https://community.grafana.com/u/matterch)\
**Replies:** 0\
**Last updated:** [December 23, 2023, 10:43pm UTC](https://community.grafana.com/t/grafana-bar-chart-stacking-percent/110672 "2023-12-23T22:43:32Z")

</div>

Hello all, I have a question regarding Bar Chart and “Stacking Percent” option. I have the following data visualized with a bar chart, d1 and d2 being two different measurements; If I use the “Stacking Normal” opti…

---

## [Timeseries stacking not working correctly. It ignore not 0 values](https://community.grafana.com/t/timeseries-stacking-not-working-correctly-it-ignore-not-0-values/90605)

<div class="topic-metadata">

**Author:** [@brunogondell](https://community.grafana.com/u/brunogondell)\
**Replies:** 7\
**Last updated:** [June 30, 2023, 1:34pm UTC](https://community.grafana.com/t/timeseries-stacking-not-working-correctly-it-ignore-not-0-values/90605 "2023-06-30T13:34:35Z")

</div>

I’m using latest grafana-oss docker. When stacking is enabled on TimeSeries graphs, it appears to ignore some values and stacking is pretty incorrect. Each field can be 0 or 1, and is filled by previous value. No Stack…

---

## [Stacking intermitent bug](https://community.grafana.com/t/stacking-intermitent-bug/87934)

<div class="topic-metadata">

**Author:** [@jblizarra](https://community.grafana.com/u/jblizarra)\
**Replies:** 0\
**Last updated:** [May 19, 2023, 7:23am UTC](https://community.grafana.com/t/stacking-intermitent-bug/87934 "2023-05-19T07:23:51Z")

</div>

Grafana v9.4.7 with InfluxDB data source in Linux server I have one time series panel (v8.3.4) with a couple of metrics stacked, one metric not stacked and one metric with other axis and not stacked (with overrides). Th…

---

## [Series disappear when stacking bars](https://community.grafana.com/t/series-disappear-when-stacking-bars/86463)

<div class="topic-metadata">

**Author:** [@franck102](https://community.grafana.com/u/franck102)\
**Replies:** 1\
**Last updated:** [May 3, 2023, 6:31pm UTC](https://community.grafana.com/t/series-disappear-when-stacking-bars/86463 "2023-05-03T18:31:55Z")

</div>

What Grafana version and what operating system are you using? Linux version 5.15.93-rockchip64 (armbian) Grafana v9.2.4 What are you trying to achieve? Display Influx time series as stacked bars How are you tr…

---

## [Stacked Bar Charts when Timestamps are not matching](https://community.grafana.com/t/stacked-bar-charts-when-timestamps-are-not-matching/81907)

<div class="topic-metadata">

**Author:** [@slrslmon01](https://community.grafana.com/u/slrslmon01)\
**Replies:** 4\
**Last updated:** [February 16, 2023, 1:55pm UTC](https://community.grafana.com/t/stacked-bar-charts-when-timestamps-are-not-matching/81907 "2023-02-16T13:55:37Z")

</div>

Hey, I am running Grafana v9.3.1 on Raspberry Pi 4 B. I am trying to Stack values from two Goesund EP2 Smart Sockets that run Tasmota 12.2.0 and log with Homebroker.io in InfluxDB. The timestamps of the values are not i…

---

## [Stacking graph without time](https://community.grafana.com/t/stacking-graph-without-time/73594)

<div class="topic-metadata">

**Author:** [@josie](https://community.grafana.com/u/josie)\
**Replies:** 1\
**Last updated:** [October 5, 2022, 1:09pm UTC](https://community.grafana.com/t/stacking-graph-without-time/73594 "2022-10-05T13:09:55Z")

</div>

I want to visualise the following data on a bar chart: Area Type Count(\*) Area1 | LA | 1200 Area2 | LA | 870 Area1 | TA | 550 Area1 | CA | 310 Area2 | TA | 780 But i want it to be present like a stacke…

---

## [Adjusting bar chart's stacked columns' legend and colours](https://community.grafana.com/t/adjusting-bar-charts-stacked-columns-legend-and-colours/67188)

<div class="topic-metadata">

**Author:** [@lsong](https://community.grafana.com/u/lsong)\
**Replies:** 15\
**Last updated:** [June 15, 2022, 6:56pm UTC](https://community.grafana.com/t/adjusting-bar-charts-stacked-columns-legend-and-colours/67188 "2022-06-15T18:56:21Z")

</div>

I am trying to visualise the following data on a bar chart: select \* from sample\_data; creation\_time | name | duration\_1 | duration\_2 | duration\_3 -------------------------------+--------+------------…

---

## [Bug when stacking time series with gaps](https://community.grafana.com/t/bug-when-stacking-time-series-with-gaps/64796)

<div class="topic-metadata">

**Author:** [@schnurbel](https://community.grafana.com/u/schnurbel)\
**Replies:** 2\
**Last updated:** [May 3, 2022, 3:37pm UTC](https://community.grafana.com/t/bug-when-stacking-time-series-with-gaps/64796 "2022-05-03T15:37:09Z")

</div>

Hello, there’s a bug when stacking time series with gaps: Series on top of the gap start at 0 instead on top of the series below. Here are two time series without gaps, stacked perfectly on top of each other: Here …
