Running almost perfectly now.    Couple of niggles: the WU and UKMO
forecasts give different temperature and wind speeds.  Guessing that this
is because the UKMO is 'greater London' whereas (I *think*) the WU data are
gleaned from a more 'local' source or sources?

I also tried to include text inside the div to have a 'heading' at the top
of each graph, but that doesn't appear to have been included.

Thanks again.

On 5 February 2018 at 18:50, mwall <[email protected]> wrote:

>
>
> On Monday, February 5, 2018 at 11:36:16 AM UTC-5, Cycle London wrote:
>>
>> I can't see anything in the 'debugger' but then I'm not a web dev.
>>
>
>
> you need to create a div for the javascript to populate.
>
> somewhere in the html hierarchy do this:
>
> <div id="wu_strip"></div>
>
> the strip data will be inserted into that div when
> populate_strip("wu_strip", "WU") is invoked
>
> the syntax for populate_strip is:
>
> populate_strip(div_id, data_id, display_settings)
>
> where div_id is the id of the div that will receive the data, data_id is
> the identifier of the data set that contains the data, and display_settings
> is an option override of any parameters such as orientation, show_tides,
> show_snow, etc.
>
> by convention, the data id is the forecast source identifier.  in this
> case 'WU'
>
> to summarize:  you must first include the strip .inc file, then you must
> create a div with an id of your choosing, then you must invoke the
> populate_strip function with the div id and the data id.
>
> including table display is somewhat easier - there is just the .inc
> inclusion, since it is not javascript.  this is why there are xxx.html.tmpl
> files in the default forecast skin, so that there will be fully functional,
> minimal examples from which to copy.
>
> suggestions about how to improve database query performance,
> javascript/html rendering performance, and/or simplification of the
> install/customize process would be very much appreciated.
>
> m
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/weewx-user/IC1-oPV_Q9w/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to