[weewx-user] Cumulated bars

2020-10-06 Thread Invisible Man
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, b

Re: [weewx-user] Cumulated bars

2020-10-06 Thread Tom Keffer
Try aggregate_type = cumulative On Tue, Oct 6, 2020 at 11:49 AM Invisible Man 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 +

Re: [weewx-user] Cumulated bars

2020-10-07 Thread Invisible Man
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 mo

Re: [weewx-user] Cumulated bars

2020-10-07 Thread Tom Keffer
Are you sure you are looking at a new image? Images do not get refreshed any longer than their aggregation interval, which, in this case, would be once a week. Delete the image, wait for the next reporting cycle. On Wed, Oct 7, 2020 at 1:42 PM Invisible Man wrote: > Hmmm... looks like it doesn'

Re: [weewx-user] Cumulated bars

2020-10-08 Thread Invisible Man
*It works ! Indeed it had not been refreshed !* Now next question : the year grouping is for the last 12 months. Is there a way to get only data for a given year ?, e.g 2020. So if I'm in October, that'll be only 10 months of cumulated data. On Thursday, October 8, 2020 at 12:13:06 AM UTC+2 tke

Re: [weewx-user] Cumulated bars

2020-10-08 Thread Tom Keffer
No. You'd have to either create a WeeWX extension that calculates year-to-date rain and puts it in the database as a separate type, or create an xtypes extension . On Thu, Oct 8, 2020 at 1:42 PM Invisible Man wrote: > *It works ! I

Re: [weewx-user] Cumulated bars

2020-10-09 Thread Invisible Man
Ok thanks again for your very precise answers! -- Axelle On Thursday, October 8, 2020 at 11:04:42 PM UTC+2 tke...@gmail.com wrote: > No. You'd have to either create a WeeWX extension that calculates > year-to-date rain and puts it in the database as a separate type, or create > an xtypes exten