Histogram chart empty in case of few equal values

Hi,

I am using Grafana OSS version v9.3.6 on Ubuntu 22.04.
I noticed a problem while building an histogram chart: in case the underlying query extracts few equal values (example of resultset: one column, two rows with same numeric values: 30), the chart shows no data.
I’d expect instead to see the distribution of such few values, as it is normally the case for more rich datasets.

I’d like to know if this is a known bug ? Is there a way this bug fix can be planned/solved ?

Thank you very much for your help

Hi @ffusarpoli,

Welcome to the :grafana: community support forums !!

We are excited that you joined our OSS community. Please read about some of the FAQs in the community :slight_smile:

Can you please try to reproduce this same issue on https://play.grafana.org/ and then share the dashboard link so that we can view it?

Thanks

I see this issue too. But for some reason I can’t create a new dashboard or save anything on play.grafana.org. I must be missing something there…

Just create a Histogram panel with data source “Grafana Test Data”, “CSV Content” scenario with:

Value
0
0
0
0
0
0
0
0
0

If you change even one of the values, then you get a proper histogram.