Try aggregate_type = cumulative
On Tue, Oct 6, 2020 at 11:49 AM Invisible Man <axelle.apvri...@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+unsubscr...@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/CAPq0zEBaMBqw%2BnPHeq3KgUOyWoRPXm_N0gBvuS%2B7%2Bfe%2BRe2r4Q%40mail.gmail.com.