Grafana bar chart with history_stats sensor, please help

Hi all

I hope is not too OT

I have an history_stats sensor that count how many hours was active my heater

I have passed this sensor in InfluxDB and would like to create a bar chart in grafana where each bar shows hrs in one day. Also I would like that the X axis show the date (dd-mm).

I’ve tried several combination, but was not able to show what I want.

Any suggestion on how to create from UI or directly with the SQL query?

Thanks