Pat here is the latest graphs.  I'm using Y axis 0 and Y axis 1 now.   Is 
there a way to add minor grid lines and zones?

[[Rain_Thunder_Day]]  
      
       title = Past 24 Hr Rain / Lightning
       time_length = 86400
       aggregate_type = sum
       aggregate_interval = 900
       gapsize = 900000
       
       [[[rainRate]]]
            name = Rain Rate
            yAxis = 1
            zIndex = 0
            color = Orange
            dashStyle = DashDot
                   
       [[[rainTotal]]]
            name = Rain Total
            yAxis = 1
            zIndex = 1
            color = Yellow
            dashStyle = ShortDash
            
        [[[outTemp]]]
            name = Temperature
            aggregate_type = max
            yAxis = 1
            zIndex = 2
            color = Cyan
            
         [[[dewpoint]]]
            name = Dewpoint
            aggregate_type = max
            yAxis = 1
            zIndex = 3
            color = Purple 
            dashStyle = Dash
            
         [[[lightning_strikes]]]
            name = Lightning Count
            aggregate_type = sum
            yAxis = 0
            yAxisLabel = AS3935 Lightning Strikes
            zIndex = 1
            color = Red
            type = column 
             
     
     [[Rain_Thunder_Week]]
     
        title = Weekly Rain / Lightning
        time_length = 604800
        aggregate_type = sum
        aggregate_interval = 900
        gapsize = 900000
        
       [[[rainRate]]]
            name = Rain Rate
            yAxis = 1
            zIndex = 0
            color = Orange
            dashStyle = DashDot
                   
       [[[rainTotal]]]
            name = Rain Total
            yAxis = 1
            zIndex = 1
            color = Yellow
            dashStyle = ShortDash
            
        [[[outTemp]]]
            name = Temperature
            aggregate_type = max
            yAxis = 1
            zIndex = 2
            color = Cyan
            
         [[[dewpoint]]]
            name = Dewpoint
            aggregate_type = max
            yAxis = 1
            zIndex = 3
            color = Purple 
            dashStyle = Dash
            
         [[[lightning_strikes]]]
            name = Lightning Count
            aggregate_type = sum
            yAxis = 0
            yAxisLabel = AS3935 Lightning Strikes
            zIndex = 1
            color = Red
            type = column

            
      [[Rain_Thunder_Month]]  
      
       title = Monthly Rain / Lightning
       time_length = 2592000 # Last 30 days
       tooltip_date_format = "dddd LL"
       aggregate_type = sum
       aggregate_interval = 86400 # 1 day
       gapsize = 86400000 # 1 day in milliseconds
        
        [[[rainRate]]]
            name = Rain Rate
            yAxis = 1
            zIndex = 0
            color = Orange
            dashStyle = DashDot
                   
       [[[rainTotal]]]
            name = Rain Total
            yAxis = 1
            zIndex = 1
            color = Yellow
            dashStyle = ShortDash
            
        [[[outTemp]]]
            name = Temperature
            aggregate_type = max
            yAxis = 1
            zIndex = 2
            color = Cyan
            
         [[[dewpoint]]]
            name = Dewpoint
            aggregate_type = max
            yAxis = 1
            zIndex = 3
            color = Purple 
            dashStyle = Dash
            
         [[[lightning_strikes]]]
            name = Lightning Count
            aggregate_type = sum
            yAxis = 0
            yAxisLabel = AS3935 Lightning Strikes
            zIndex = 1
            color = Red
            type = column 


Rich

On Friday, August 23, 2019 at 6:38:17 PM UTC-4, Pat wrote:
>
> Setting yaxis to 3 for me didn't work with my chart setup (I didn't try 
> yours), but if I kept re-using yaxis 0 or yaxis 1 it stacks them. 
>
> On Friday, August 23, 2019 at 4:15:22 PM UTC-4, rich T wrote:
>>
>> I believe it is valid by defintion.  "The Y axis or value axis. Normally 
>> this is the vertical axis, though if the chart is inverted this is the 
>> horizontal axis. In case of multiple axes, the yAxis node is an array of 
>> configuration objects."
>>
>> On Friday, August 23, 2019 at 2:26:39 PM UTC-4, Pat wrote:
>>>
>>> Interesting! I thought something like "yAxis = 3" would be invalid, so 
>>> maybe Highcharts is using that in some way? 
>>>
>>> On Friday, August 23, 2019 at 2:24:53 PM UTC-4, rich T wrote:
>>>>
>>>> By adding dewpoint to yAxis 3 is the only way so far got it to plot.  
>>>> Later going try a couple more things on that chart.
>>>>
>>>> Rich
>>>>
>>>> On Friday, August 23, 2019 at 1:19:58 PM UTC-4, Pat wrote:
>>>>
>>>>> You're doing a lot more with this than I thought. Looks good! Your 
>>>>> right side yAxis has 2 labels, I wonder why that is? 
>>>>>
>>>>> I've been thinking if I need to figure out a way to support multiple 
>>>>> yAxis (like shown in this demo 
>>>>> <https://www.highcharts.com/demo/combo-multi-axes>) and how I would 
>>>>> add that. I see you're trying opposite = true, but I still need to define 
>>>>> a 
>>>>> yAxis to a a y axis array number. I need some time to sit down and think 
>>>>> about that. 
>>>>>
>>>>>
>>>>> On Thursday, August 22, 2019 at 11:30:35 PM UTC-4, rich T wrote:
>>>>>>
>>>>>> Here is the latest:
>>>>>>
>>>>>> In the graph.conf
>>>>>>
>>>>>> [Rain_Thunder]
>>>>>>
>>>>>>         title = Rain / Lightning
>>>>>>         show_button = true 
>>>>>>         button_text = "Lightning"
>>>>>>         
>>>>>>      
>>>>>>      [[Rain_Thunder_Day]]  
>>>>>>       
>>>>>>        title = Daily Rain / Lightning
>>>>>>        time_length = 86400
>>>>>>        aggregate_type = sum
>>>>>>        aggregate_interval = 900
>>>>>>        gapsize = 900000
>>>>>>        
>>>>>>        [[[rainRate]]]
>>>>>>             name = Rain Rate
>>>>>>             yAxis = 1
>>>>>>             zIndex = 1
>>>>>>             color = red
>>>>>>             #opposite = true
>>>>>>             dashStyle = DashDot
>>>>>>                    
>>>>>>         [[[rainTotal]]]
>>>>>>             name = Rain Total
>>>>>>             yAxis = 1
>>>>>>             zIndex = 2
>>>>>>             dashStyle = ShortDash
>>>>>>             color = blue
>>>>>>             
>>>>>>         [[[lightning_strikes]]]
>>>>>>             name = Lightning Count
>>>>>>             aggregate_type = sum
>>>>>>             yAxis = 0
>>>>>>             #yAxisLabel = AS3935 Lightning Count
>>>>>>             #opposite = true
>>>>>>             zIndex = 0
>>>>>>             color = orange
>>>>>>             type = column
>>>>>>         
>>>>>>         [[[outTemp]]]
>>>>>>             aggregate_type = max
>>>>>>             yAxis = 2
>>>>>>             zIndex = 4
>>>>>>             name = Temperature
>>>>>>             dashStyle = Dot
>>>>>>             color = lime
>>>>>>             
>>>>>>         [[[dewpoint]]]
>>>>>>             aggregate_type = max
>>>>>>             yAxis = 2
>>>>>>             zIndex = 3
>>>>>>             color = maroon
>>>>>>             yAxisLabel = AS3935 Lightning Strikes
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wednesday, August 21, 2019 at 2:45:18 PM UTC-4, Ron Sell wrote:
>>>>>>>
>>>>>>> Is there a way to do a count to get the value on a chart?
>>>>>>>
>>>>>>> It looks like the lightning strikes are stored with 
>>>>>>> time,distance,energy in the database. Can I just count the records and 
>>>>>>> use 
>>>>>>> that as my lightning strikes total? I just don't know how to show the 
>>>>>>> count 
>>>>>>> on the chart.
>>>>>>>
>>>>>>> On Monday, 19 August 2019 23:07:01 UTC-4, rich T wrote:
>>>>>>>>
>>>>>>>> Pat this is what I got so far.
>>>>>>>>
>>>>>>>> [[Rain_Thunder]]
>>>>>>>>         title = Rain and Lightning
>>>>>>>>         time_length = 604800
>>>>>>>>         aggregate_type = sum
>>>>>>>>         aggregate_interval = 3600
>>>>>>>>         gapsize = 3600000
>>>>>>>>             
>>>>>>>>         [[[rainTotal]]]
>>>>>>>>             name = Rain Total
>>>>>>>>             yAxis = 1
>>>>>>>>             zIndex = 1
>>>>>>>>             
>>>>>>>>         [[[rainRate]]]
>>>>>>>>             name = Rain Rate
>>>>>>>>             yAxis = 1
>>>>>>>>             zIndex = 2
>>>>>>>>             opposite = true
>>>>>>>>             
>>>>>>>>         [[[lightning_strikes]]]
>>>>>>>>             name = Lightning Count
>>>>>>>>             aggregate_type = sum
>>>>>>>>             yAxis = 0
>>>>>>>>             yAxisLabel = Lightning Count
>>>>>>>>             zIndex = 0
>>>>>>>>             type = column  
>>>>>>>>
>>>>>>>> Rich
>>>>>>>>
>>>>>>>> On Sunday, August 18, 2019 at 8:01:53 PM UTC-4, Pat wrote:
>>>>>>>>>
>>>>>>>>> Rich have you found a good way to have lightning on the rain 
>>>>>>>>> chart? 
>>>>>>>>>
>>>>>>>>> When I try adding it to yaxis = 1 (or 0) it messed up the chart. I 
>>>>>>>>> know Highcharts supports *multiple *y axis' but Belchertown 
>>>>>>>>> doesn't. Wasn't sure if you've found some interesting combination 
>>>>>>>>> that has 
>>>>>>>>> it all on the same chart.
>>>>>>>>>
>>>>>>>>> On Friday, August 16, 2019 at 6:31:50 PM UTC-4, rich T 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/ced0415f-86a7-498a-a193-6ebd10a0646a%40googlegroups.com.

Reply via email to