Hmmm... looks like it doesn't change anything... ?

       [[[yearrain]]]
            yscale = None, None, 0.02
            plot_type = bar
            [[[[rain]]]]
                aggregate_type = cumulative
                # aggregate_interval = 2629800 # Magic number: the length 
of a nominal month
                aggregate_interval = 604800    # == 1 week
                label = Rain (weekly total)


On Wednesday, October 7, 2020 at 1:40:39 AM UTC+2 tke...@gmail.com wrote:

> Try 
>
>  aggregate_type = cumulative
>
>
>
>
> On Tue, Oct 6, 2020 at 11:49 AM Invisible Man <axelle....@gmail.com> 
> wrote:
>
>> Hello,
>>
>> In Weewx, is it possible to generate a graph with cumulated bars? For 
>> example, for year's rain, you'd see rain in January, then rain of January + 
>> February, then rain of January + February + March etc.
>>
>> In skin.conf,  I see this config. But tweaking the aggregate interval 
>> won't help me, because it won't sum the previous months... And plot_type 
>> only has bar, line or vector available.
>>
>> So, is this possible ?
>> Thanks
>>
>> [[[yearrain]]]
>>             yscale = None, None, 0.02
>>             plot_type = bar
>>             [[[[rain]]]]
>>                 aggregate_type = sum
>>                 # aggregate_interval = 2629800 # Magic number: the length 
>> of a nominal month
>>                 aggregate_interval = 604800    # == 1 week
>>                 label = Rain (weekly total)
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "weewx-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to weewx-user+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/4cd03028-e945-47b6-8b78-9cca1b22711fn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/4cd03028-e945-47b6-8b78-9cca1b22711fn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/2b314311-1f5f-44e6-ae16-17a6cf6c313cn%40googlegroups.com.

Reply via email to