Just remove the months from the chart's xaxis_categories  where you know 
you do not have data for. 

On Sunday, August 18, 2019 at 3:25:45 PM UTC-4, Ron Sell wrote:
>
> Do you know why it would show January as the month for both Climatological 
> and Lightening ? I just extended the database yesterday for the lightening. 
>
> On Sun, Aug 18, 2019 at 8:34 AM Pat <[email protected] <javascript:>> 
> wrote:
>
>> 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]> 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>. 
>>>>>>>>
>>>>>>> <blockquote class="gmail_quote" style="margin:0px 0px 0px 
>>>> 0.8ex;border-left:1px solid rgb
>>>>
>>>

-- 
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/e7e9c6b2-f0e5-4487-ab0a-e2f8c876af3d%40googlegroups.com.

Reply via email to