The rainTotal is the accumulation over the time span, so that will be your line graph.
The rain will show you rain over the aggregate_interval - so for this chart it's 1 day. So your graph looks right, but I'm seeing the data a little wrong too. For example on June 28 I had 2.41 inches rain, but the graph shows it on June 29. I'll look at why it's showing the wrong day. I think it's a setting with the way the json generator is running On Tuesday, July 14, 2020 at 12:15:48 PM UTC-4, Geni 0815 wrote: > > I would like to have a graph of the last 30 days with a column with the > amount of rain per day and a curve that accumulates these daily amounts. > What should the definition in fer Graphic.conf look like? > Do these daily values have to match the NOAA reports? > > Am Dienstag, 14. Juli 2020 16:52:45 UTC+2 schrieb Pat: >> >> Which one is the error? rainTotal does not use the aggregate_type since >> it is already aggregating these totals. >> >> On Monday, July 13, 2020 at 1:54:36 AM UTC-4, [email protected] wrote: >>> >>> @Pat: The error is not only with me, also with @Andre. I see the error >>> when the graphic "last 30 days" has been selected and the rain is selected >>> as the daily total bar. The graphics are one day late. No daily value >>> is correct, the sum of 3-4 days is correct again. In my opinion the >>> graphic has problems to calculate the correct local start and end of the >>> day. >>> >>> [email protected] schrieb am Sonntag, 12. Juli 2020 um 10:47:51 UTC+2: >>> >>>> On 3 days we had rain of 9mm, 8.6mm and 0.6mm. The graphic now shows >>>> 0mm, 15mm and 3.2mm on the corresponding days. The sum is correct but >>>> wrongly divided. Where is the mistake? >>>> [image: belch10.jpg] >>>> [image: belch11.jpg] >>>> [month] >>>> # Chart Timespan Defaults >>>> title = "Letzte 30 Tage" >>>> show_button = true >>>> button_text = "Letzte 30 Tage" >>>> type = spline >>>> time_length = 2592000 # Last 30 days >>>> tooltip_date_format = "dddd LL" >>>> aggregate_type = max >>>> aggregate_interval = 86400 # 1 day >>>> gapsize = 86400000 # 1 day in milliseconds >>>> >>>> [[chart3]] >>>> title = Regenx >>>> type = line >>>> aggregate_type=sum >>>> [[[rainTotal]]] >>>> name = Regen Total >>>> [[[rain]]] >>>> yAxis = 1 >>>> type = column >>>> >>>> Live: https://affolter.familyds.net/wetter/graphs/?graph=month >>>> >>> -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/14c8395b-c3d0-4d38-9b5a-b3c4927a6803o%40googlegroups.com.
