I see. So if we break it down to keep it simple, go back to the
graphs.conf.example file that comes with the skin. Then under the
[homepage] group, add in the wind rose example code
<https://github.com/poblabs/weewx-belchertown/wiki/Belchertown-Charts-Documentation#wind-rose>
from the wiki. The code is this simple:
[[roseplt]]
title = Wind Rose
[[[windRose]]]
The number of brackets is important. This defines the nesting of the
configuration. The single brackets are the top layer, then the doulbe
brakets are the chart definition, and the triple brackets are the
observations. You also cannot have duplicate names within the brackets.
So to add a the windrose chart, we give it a name of roseplt, this is
because it is in the double brackets.
Then beneath that is the triple bracket of windRose which is the
observation to chart.
The full config for [homepage] from the example conf with the added
windrose will look like this.
Note that the wind rose is at the end. If you want to move it, you can -
just make sure you do not put a double bracket under a triple bracket.
Also, the double brackets must have a triple bracket beneath it - otherwise
you'll have an empty chart (like you saw last night).
Any settings beneath a triple bracket are settings that apply to the
observation only (the triple bracket observation)
I hope this helps. The Belchertown Charts Wiki
<https://github.com/poblabs/weewx-belchertown/wiki/Belchertown-Charts-Documentation>
has a lot of great information and I think it's worth some time to check
out the examples within!
[homepage]
# Chart Timespan Defaults
title = "Homepage"
show_button = true
button_text = "Homepage"
time_length = today
tooltip_date_format = "LLL"
gapsize = 300000 # This should be your archive_interval from weewx.conf
multiplied by 1000 to get milliseconds. Standard is 5 minutes
[[chart1]]
title = Temperature
[[[outTemp]]]
zIndex = 1
name = Temperature
[[[windchill]]]
[[[heatindex]]]
color = "#f7a35c"
[[[dewpoint]]]
color = purple
[[chart2]]
# The combined Wind Chart works best in this configuration
title = Wind Speed and Direction
yaxis_min = 0
[[[windDir]]]
zIndex = 1
yAxis = 1
yaxis_max = 360
lineWidth = 0
[[[[marker]]]]
enabled = true
[[[[states]]]]
[[[[[hover]]]]]
lineWidthPlus = 0
[[[windGust]]]
[[[windSpeed]]]
zIndex = 2
[[chart3]]
title = Rain
[[[rainRate]]]
yAxis = 1
[[[rainTotal]]]
name = Rain Total
[[chart4]]
title = Barometer
type = spline
[[[barometer]]]
color = "#BECC00"
yAxis_tickInterval = 0.01
[[roseplt]]
title = Wind Rose
[[[windRose]]]
On Thursday, June 6, 2019 at 3:44:50 PM UTC-4, Joe Santas wrote:
>
> Looks like it only happens when i add the rose on the today (day)
> section. Tried different ways and it keeps popping up. I have it removed
> for the moment.
>
> On Friday, June 7, 2019 at 5:08:31 AM UTC+10, Pat wrote:
>>
>> I'm lost. I don't see a blank graph. You didn't specify which graph
>> section was giving you a problem. I just don't have the details to help
>> further right now. I saw earlier you were running Seasons, now you're back
>> on Belchertown - so I assume you may have fixed what was wrong.
>>
>> On Thursday, June 6, 2019 at 8:30:01 AM UTC-4, Joe Santas wrote:
>>>
>>> Apologies Pat was at work when i was trying to fix this via my remote
>>> viewer.
>>> Can you take a look at the following http://jsantas.com/graphs/ One
>>> chart is empty everything else is in order as far as i can see.
>>> I used your config file earlier in the day and it straightened things
>>> out apart from this one chart.
>>> If you need anything further let me know.
>>>
>>> Regards
>>>
>>> On Thursday, June 6, 2019 at 12:47:08 PM UTC+10, Pat wrote:
>>>>
>>>> Please verify you used my changes. I can see you still have the same
>>>> blank charts - especially the chart3 I mentioned before.
>>>
>>>
--
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/a3e11e33-96f6-4351-95fc-ba95490c558c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.