Grafana Bar chart width is too slim

I have quite sparse data set to chat. The width of the bar character is like one pixel and I don’t know how to adjust to 20 pixesl?

I have spent a day on this and can’t find the answer. Please help. Thanks

To get wider bars, you need to change your query and aggregate your data over a longer period. It is not just a cosmetic change so you cannot change the width like you want to otherwise you would change the meaning of the data.

If you want to aggregate in 10 minute intervals, then in InfluxDB (I’m guessing that is the db you are using) change the Group by time interval to a larger value. In the example below, the data is grouped in 10 minute intervals and the Group by time interval field is set to >10m. You can read more about it in the help text found by clicking on the group by time info button under the field.


Thanks for the help. It works!

1 Like

I am running into similar problem, but I am using the $__unixEpochGroupAlias(column, $__interval) macro. How can I make the macro to aggregate the data to longer intervals?

Sorry for digging up this old thread.

Hi, I have Grafana v6.2.4 (ee01897) and I do not see Group By time interval setting. We are using PostgresDB.