As noted in a different thread, I am working on a small extension to calculate and store sunshine time (time when the sun is out, rather than covered by clouds). I am saving the number of minutes of sunshine during the archive period in each archive record. Sunshine minutes are fine for display on daily reports and graphs, but I would rather display the more usual sunshine hours on weekly, monthly, and longer reports. Is there an easy way to tell the report generator to scale the units it uses for different report periods? I can see this being useful for other categories of data, too. You might, for example want to display solar production in Wh for the daily reports but in kWh for monthly and longer ones.
I feel that XTypes may provide the answer to this, but couldn't really get my head around how it would work, in practice.