Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Wind Rose?

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
kapo
Posts: 246
Joined: Thu 03 Jan 2013 1:59 pm
Weather Station: Davis VP2
Operating System: Windows 10
Location: Vihtavuori, Laukaa, Finland

Wind Rose?

Post by kapo »

Hi
I have a little problem... I tried to copy / install ss-gauges straight to Ajax-dashbord.php. Everything else I managed to get work except Wind-Rose gauge. Wind run works also, but not that "Wind-Radar". Could someone give a little advice, how I get that Wind Rose visible in Ajax-Dashboard? Link: http://www.kapo511.net/index2.php

Thanks in advance

-kapo-
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Wind Rose?

Post by mcrossley »

I've had a look and cannot see the problem. There are lots of issues on the page and the gauges when it first loads, but after the first update the code seems to run OK, just that RGraph does not seem to draw anything. You seem to have included all the scripts twice (or three times for the tween and steelseries scripts) which is probably the cause of the problems, and certainly why the initial load is going completely awry.

Another problem you should sort out is that you have the gauges running on an XHTML 1.0 Transitional page, when they are using HTML5 components. Also the page charset is ISO-8859-1 rather than the UTF8 that the gauges use. You have the page flagged as XHTML 1.0 compliant at the bottom, with all the additional code it is far from it, the validity checker comes up with 168 errors and 70 warnings!
kapo
Posts: 246
Joined: Thu 03 Jan 2013 1:59 pm
Weather Station: Davis VP2
Operating System: Windows 10
Location: Vihtavuori, Laukaa, Finland

Re: Wind Rose?

Post by kapo »

Oops!
Thank You about answering. Luckily it is my testpage, altought there are too much errors in my "homepage" too.
But not that much. I have to study a lot more those xhtml / html languages before asking stupid questions...
:bash:


-kapo-
Post Reply