Page 4 of 4

Re: Highcharts Tides

Posted: Mon 22 Jul 2019 1:33 pm
by mcrossley
However your graph matches the UKHO times and heights for the main tides exactly?

Re: Highcharts Tides

Posted: Mon 22 Jul 2019 3:49 pm
by Mapantz
Unfortunately not. UKHO says 20:01 for the next low tide, my graph says 18:01

Re: Highcharts Tides

Posted: Tue 23 Jul 2019 10:39 am
by mcrossley
Still looks right to me...

Code: Select all

     Graph          UKHO
23/7 06:06  1.1m    07:06  1.1m
     09:34  1.8m    10:34  1.8m
     18:04  1.4m    19:40  1.4m
     21:47  1.8m    22:47  1.8m
24/7 06:46  1.2m    07:46  1.2m
But I'll have another look at the code tonight... not convinced about the TZ stuff...

Re: Highcharts Tides

Posted: Tue 23 Jul 2019 11:05 am
by mcrossley
Ah! I wasn't adding the DST on the UKHO site. So yes they the times two hours out. A code fettle coming on...

Re: Highcharts Tides

Posted: Tue 23 Jul 2019 12:54 pm
by mcrossley
OK, if you look at my demo page now, it should be displaying in *your* local time including DST. So if you aren't in the UK the times will still be your local time wherever you are.

I have updated the zip download. You now have to enter your countries default TZ string into the uk7daystides.php class file.

Re: Highcharts Tides

Posted: Sun 01 Nov 2020 8:20 am
by BeaumarisWX
Hi Mark,
Now I have finally moved and Weather Site up and running I added a revamped version of the old Highcharts Tides for new location :
https://beaumaris-weather.com/wxtides.php
Some info : https://beaumaris-weather.com/wxnewspost.php?id=31

Kind regards,

Re: Highcharts Tides

Posted: Mon 02 Nov 2020 11:31 am
by mcrossley
Good work Tony, funny how the Tides page has cropped up twice in as many weeks - I'd forgotten all about it!

Re: Highcharts Tides

Posted: Wed 29 Jun 2022 7:18 pm
by ConligWX
mcrossley wrote: Mon 02 Nov 2020 11:31 am Good work Tony, funny how the Tides page has cropped up twice in as many weeks - I'd forgotten all about it!
old I know but using "WillyWeather widgets on my site. they just work..

https://www.willyweather.co.uk/widget/create.html

example:

https://www.conligwx.org/wxtides.php

https://www.conligwx.org/tides.htm