ApexCharts card - A highly customizable graph card

Your settings leads my graph to displaying incorrect results.

Here is the reference:

With settings listed by me in the previous post (taken from the linked article), it calculates values for periods correctly

My assumption is, that the SUM has to be calculated by statistics part. Then diff calculates difference between periods (duration).

Interesting. When I have time and some current rain data displayed in the graph, I will experiment a bit more. But I am pretty sure my rain graphs are displaying correctly.

I am also having issues getting my chart full width, I have also tried editing the number of columns with no change, would you be able to check my code please (also a relative newbie at all this)?