Here's what I have for my climatological values chart on the homepage 
<https://belchertownweather.com/go/belchertown>:

    [[avgclimatethisyear]]
        title = "Average Climatological Values for This Year"
        type = spline
        time_length = year
        aggregate_type = max
        aggregate_interval = 86400 # 1 day
        gapsize = 86400000
        xaxis_groupby = month
        xaxis_categories = 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 
'Aug', 'Sep', 'Oct', 'Nov', 'Dec'
        [[[outTemp]]]
            zIndex = 2
            name = Max Temperature
            color = red
        [[[outTemp_min]]]
            name = Min Temperature
            observation_type = outTemp
            aggregate_type = min
            zIndex = 2
        [[[rainTotal]]]
            name = Rain Total
            type = column
            yAxis = 1
            zIndex = 0
            color = "#268bd2"


To chart other years use something like this with the year_specific option


    [[chart1]]
        title = "Average Climatological Values for 2018"
        time_length = year_specific
        year_specific = 2018
        xaxis_groupby = month
        xaxis_categories = 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 
'Aug', 'Sep', 'Oct', 'Nov', 'Dec'
        [[[outTemp]]]
            zIndex = 2
            name = Max Temperature
            color = "#fc0404"
            [[[[marker]]]]
                enabled = true
                radius = 4
        [[[outTemp_min]]]
            name = Min Temperature
            observation_type = outTemp
            aggregate_type = min
            zIndex = 2
            color = "#173c6a"
            [[[[marker]]]]
                enabled = true
                radius = 4
        [[[rainTotal]]]
            name = Rain Total
            type = column
            yAxis = 1
            zIndex = 0
            color = "#438bd6"






On Sunday, August 18, 2019 at 8:29:02 AM UTC-4, Ron Sell wrote:
>
> Awesome thank you so much.
>
> I am also attempting to add Average Climatological Valuesfor This Year.
> I’ll see if I can get that one going too.
>
> On Sun, Aug 18, 2019 at 8:25 AM Pat <[email protected] <javascript:>> 
> wrote:
>
>> If you're looking at the lightning charts that I'm doing on my homepage 
>> <https://belchertownweather.com/go/belchertown>, add something like this 
>> to your homepage's graph group inside graphs.conf
>>
>>     [[lightninggroupby]]
>>         title = Lightning Strikes This Year
>>         yAxisLabel = ""
>>         time_length = year
>>         xaxis_groupby = month
>>         xaxis_categories = 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 
>> 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'
>>
>>
>>         [[[lightning_strikes]]]
>>             name = Lightning Count
>>             type = column
>>             yAxisLabel = Lightning Count
>>         [[[avg_distance]]]
>>             name = Average Distance (mi)
>>             type = column
>>             aggregate_interval = 300 # 5 minutes
>>             aggregate_type = avg
>>             yAxis = 1
>>             yAxisLabel = Average Distance (mile)
>>
>>
>>
>>
>>
>> On Sunday, August 18, 2019 at 8:19:01 AM UTC-4, Ron Sell wrote:
>>>
>>> I got the lightening to work. How do I get it to run for the year on the 
>>> homepage?
>>> Thanks Ron 
>>>
>>> On Fri, Aug 16, 2019, 6:31 PM rich T <[email protected]> wrote:
>>>
>>>> In the graphs.conf file add
>>>>
>>>> [homepage]
>>>>
>>>> .....
>>>>
>>>> [[Lightning_chart]]
>>>>         title = Lightning (Last 3 Hour)
>>>>         time_length = 10800
>>>>         aggregate_interval = 300
>>>>         gapsize = 108000
>>>>         type = column
>>>>         
>>>>         [[[lightning_strikes]]]
>>>>             name = Lightning Count
>>>>             zIndex = 1
>>>>             aggregate_type = sum
>>>>
>>>> Ensure the DB to contains the lightning fields, if not the db needs to 
>>>> extended. 
>>>> https://github.com/poblabs/weewx-belchertown/wiki/Adding-a-new-observation-type-to-the-WeeWX-database
>>>>
>>>> On Friday, August 16, 2019 at 3:15:20 PM UTC-4, Ron Sell wrote:
>>>>>
>>>>> Is there a way to show the lightning strikes? I was looking to add 
>>>>> chart. 
>>>>>
>>>>> thanks 
>>>>>
>>>>> On Saturday, 1 June 2019 12:57:56 UTC-4, Pat wrote:
>>>>>>
>>>>>> Belchertown skin 1.0 is released!
>>>>>>
>>>>>> This update contains a lot of updates and changes including *an 
>>>>>> entire rewrite of the Highcharts system* which allows you to make 
>>>>>> almost any graph you want for almost any time span you want. You can see 
>>>>>> some examples of the charts you can make on the BelchertownWeather.com 
>>>>>> website graphs page 
>>>>>> <https://belchertownweather.com/graphs/?graph=all>.
>>>>>>
>>>>>> You can add/remove/change/reorder any chart, change colors, add 
>>>>>> observation plots, categorize for all time. Almost anything you want to 
>>>>>> do 
>>>>>> is available! The skin comes with the standard 4 charts ready to go, but 
>>>>>> there's extensive Belchertown Charts Documentation 
>>>>>> <https://github.com/poblabs/weewx-belchertown/wiki/Belchertown-Charts-Documentation>
>>>>>>  
>>>>>> which can help you get started. 
>>>>>>
>>>>>> In addition to the Charts there's now a dark mode (which has an 
>>>>>> auto-switching mode based on sunset/sunrise), more flexibility for 
>>>>>> translations, user customized station observation table which is updated 
>>>>>> in 
>>>>>> real time if the MQTT Websockets are enabled, and a lot more. Check the 
>>>>>> release notes for all the details! 
>>>>>>
>>>>>> You can download the latest release here 
>>>>>> <https://github.com/poblabs/weewx-belchertown/releases/download/weewx-belchertown-1.0/weewx-belchertown-release-1.0.tar.gz>,
>>>>>>  
>>>>>> and read all of the details on the changes here: 
>>>>>> https://github.com/poblabs/weewx-belchertown/releases
>>>>>>
>>>>>> *Note: You cannot upgrade from Belchertown 0.9 and older*. You must 
>>>>>> uninstall everything and reinstall new. This is due to the Chart system 
>>>>>> being fully rewritten and the potential for conflicts. Please read 
>>>>>> this upgrade guide if you are upgrading from an older version of 
>>>>>> Belchertown skin 
>>>>>> <https://github.com/poblabs/weewx-belchertown/wiki/Upgrading-to-Belchertown-skin-1.0>
>>>>>> . 
>>>>>>
>>>>>> Thanks to all the beta testers and translators over the last couple 
>>>>>> of months help me iron out all the kinks and shape the skin in a way 
>>>>>> that 
>>>>>> can be translated a little easier! 
>>>>>>
>>>>>> Attached are some examples of the charts that can be made. If you 
>>>>>> find any issues, you can reply here or open an issue on the 
>>>>>> Belchertown skin GitHub page 
>>>>>> <https://github.com/poblabs/weewx-belchertown>. 
>>>>>>
>>>>> -- 
>>>> 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/a739410a-8058-4d25-b952-eae78ea4b542%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/a739410a-8058-4d25-b952-eae78ea4b542%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 [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/575684f6-2b57-432e-903d-b1d7268cb202%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/575684f6-2b57-432e-903d-b1d7268cb202%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/2717c689-9a03-4a11-a386-b8c6c9a89212%40googlegroups.com.

Reply via email to