The same thing happens for daysum periods where the start of the graph isn't at 12am (ie, graph is from 7am to 7am cuz it's the last 24hrs).
Rain last 48 hours (rainfall for Aug 5th begins after the chart begins): Rain last 36 hours (part of the rainfall for Aug 5th is before the chart beings): Based on the text from the Templates page, I would think that these sums should work even if the first day of the month or minute of the day isn't in the chart time frame that's being pulled.
I also tried "[rain0total-sum@M0=in.2:0]" but that was no different than using monthsum.Sensors that deliver cumulated data like "rain0total", "sol0evo" and "sun0total" should be used with the following selectors only:
hoursum, daysum or sumday, monthsum, yearsum, allsum, ydaysum: selects summarized delta values from today, this month, this year, all time or yesterday. Example: "rain0total-sumday" is todays rain fall.