How to group the specific data in Bar chart

  • What are you trying to achieve?

I am currently using a bar chart image, and I want to stack the data, stack a and b. However, when I try using stacking, everything gets stacked together. I want it to be able to group individually. For example: b, c, d, e, g, f

  • How are you trying to achieve it?

Using Grafana stacking but there is no way to group.

A B C D E F G
Apr-25 283 23.6 102 10.1 62.7 9.62 32.8
May-25 356 87.5 83.1 21 79.6 38.6

what would be in X axis for example for A

also what is your datasource?

For my suggestion

Use multiple bar chart panels

  • Create one panel per group.
  • Stack A and B in one panel.
  • Stack C and D in another.
  • Stack E, F, G in a third panel.
  • Align the panels vertically for a dashboard-style grouped view.