5 year max temperature graphs

36 views
Skip to first unread message

Mike Revitt

unread,
Feb 9, 2021, 9:20:20 AM2/9/21
to weewx-user
I have been trying to add some additional graphs to my website showing temperature changes over 2, 5, 10 years. but when I create the graphs the x axis has an interesting behaviour which I think is down to the x_label_format, I have attached a couple of graphs that demonstrate the issue, but it looks like the x axis is being created with the granularity of the x_label_format, but I need to be able to specify this to be something smaller in a way similar to how yscale looks like it works. But I. can't find a way of doing this

the skin.conf sections are

    [[2year_images]]
        x_label_format      = %Y
        bottom_label_format = %x %X
        time_length         = 63115200 # 2 years
        aggregate_type      = avg
        aggregate_interval  = 172800 # 2 Days
        show_daynight       = false

        [[[2yearhi]]]
            [[[[hi]]]]
                data_type       = outTemp
                aggregate_type  = max
                label           = Max Temperature
    [[2year_images]]
        x_label_format      = %Y
        bottom_label_format = %x %X
        time_length         = 157788000 # 5 years
        aggregate_type      = avg
        aggregate_interval  = 432000 # 5 Days
        show_daynight       = false



Mike Revitt

unread,
Feb 9, 2021, 9:34:28 AM2/9/21
to weewx-user
5yearhi.pngForgot to add the images 2yearhi.png
Reply all
Reply to author
Forward
0 new messages