Graphs change after weewx update 4.4.0 to 4.5.1

140 views
Skip to first unread message

didier....@gmail.com

unread,
Apr 14, 2021, 3:37:09 AM4/14/21
to weewx-user
Hi,
I'm using the Belchertown skin (V 1.3b1)
  • With weewx 4.4.0 the graph for a day is displayed from midnigt to midnight (xAxis complete day)
  • With last release weewx 4.5.1 the graph is displayed from midnight to now
Is it possible to have an xAxis "complete day" with the last release?
(This is the same effect for week and year)

Thanks a lot

graphs.conf:
# Chart Timespan Defaults
title = "Depuis minuit"
show_button = false
button_text = ""  # graphique utilisé sur la page principale
tooltip_date_format = "LLL"
gapsize = 300 # This should be your archive_interval from weewx.conf 5 minutes
aggregate_type = max
aggregate_interval = 300
time_length = today

[[chart1]]
title = Température
type = spline
[[[appTemp]]]
color = "#dd3497"
name = Ressenti
[[[outTemp]]]
color = "#b2df8a"
[[[dewpoint]]]
yAxis_label = ( °C )
yAxis_tickInterval = 2
yAxis_softMin = 0

weewx 4.4.0.jpg
weewx 4.5.1.jpg

Arend

unread,
Apr 14, 2021, 4:47:36 AM4/14/21
to weewx-user
If you are brave enough to do a quick and dirty fix:

Open the file bin/weewx/xtypes.py and comment out lines 144 and 145 like this:

144     #if agg_vt[0] is None:
145     #   continue

The real issue is ofcourse that the way the charts in Belchertown are created has become outdated and needs a complete overhaul.
Op woensdag 14 april 2021 om 09:37:09 UTC+2 schreef didier....@gmail.com:

Didier Decoodt

unread,
Apr 14, 2021, 5:02:51 AM4/14/21
to weewx...@googlegroups.com
OK thank's

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/SPEgiCM7Rng/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/c648d68b-89a8-41f1-94a8-a91fe4a8c6a6n%40googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages