Forgot to add the graph code so that you guys don't have to go look it up.
title = Lightning
[[[lightning_strike_count]]]
name = Number of strikes
color = "#ffc83f"
[[[lightning_distance]]]
name = Distance to Strike
color = "#f7f2b4"
y_label = "km"
On Friday, April 23, 2021 at 2:59:48 PM UTC-5 Alan Bryant wrote:
>
> Hello Everyone,
>
> I am a very amateur weather enthusiast, so all of this amazing software
> that you guys have put together is phenomenal. Thank all of you so much for
> the time that you have put in to these products and the support!
>
> I think that I have everything set up mostly how I want it, except for the
> Lightning Graph on the main page.
>
> I used the code from a previous thread (
> https://groups.google.com/g/weewx-user/c/tunBoIOIXtI/m/dBchokefCgAJ) that
> seems to work, but since the GW1000 driver enters the lightning_distance
> into the DB whether there are any new strikes or not, the distance gets
> graphed constantly.
>
> Is there a way with HighCharts to tell it not to graph the distance unless
> there is a number of strikes > 0?
>
> Specs:
> Site: https://weather.bryantgeeks.com
> Weewx: 4.5.1
> Belchertown 1.3b1
> GW1000 Driver: 0.3.1
> Ecowitt GW1000
> WH31
> WS68
> WH57
> WH40
>
--
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/498acf7b-ad77-4000-abce-9d3174cab31an%40googlegroups.com.