Removing units (count)

I’m trying to remove the “unit” from a graph so that the value are counts.
There are a few related posts, but no proper resolution AFAICT.

There doesn’t seem to be a way to remove the unit from the unit dropdown.
I also tried removing the unit entry from the panel JSON and saving, but that didn’t seem to do anything.

If I select “number” then I will get fractions of a count in the legend, which doesn’t make sense - I can set decimals to 0, but then I get repeats in the legend “1, 1, 2, 2, 3, 3”, etc.

I’m not sure why a “count” or “unitless” value isn’t selectable in the units dropdown, because this will be one of the most common measures by far.

Sorry if I’m missing something.

Pls provide reproducible example.

The data is count and will always be integers.

Decimals=auto

Decimals=0:

This isn’t a huge issue, but just a bit confusing as it implies the values can be fractional.
Granted this is probably only an issue if the range of integer values is small relative the the graph axis display size.

Grafana version? Did you saved dashboard and then refresh it in the browser? How data looks in Table view (debug view)? Panel type? Min/max configs?

Such feature is available since Grafana 11.0:

Button to remove Unit

After click on cross Unit is reset to its default state:

Unit removed