Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.1.0 (build 4024) - 05 June 2024

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

SteelSeries Gauges - version 1.0

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

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

Re: SteelSeries Gauges - version 1.0

Post by mcrossley »

George, do you have a link to the gauges page so I can take a look?
Your main page http://www.wheelocknet.net/cumulus/gauges.html?gb is the old gauges and doesn't seem to be working correctly.

Edit: Also are you sure you updated the steelseries.min.js file and have forced your browser to bypass it's cache? The behaviour you describe could be due to an old version (where I had scrolling partially implemented, but not used).
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: SteelSeries Gauges - version 1.0

Post by gwheelo »

Mark -

Thanks for the interest. I have set up two versions for your viewing enjoyment or horror - one with scroll and one without. As you will immediately see the only difference is the size of the scroll box - the shorter box causing autoscroll to kick in.

http://www.wheelocknet.net/canvas_g/gauges_ss_10.html - no scroll - sufficient box length for text

http://www.wheelocknet.net/canvas_g/gauges_ss_10a.html - autoscrol kicks in - insufficient box length.

There is still a lot of trash in my pages - I will clean it up by and by - and I am still working with static dada - and the navigation links are trash for now.

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

Re: SteelSeries Gauges - version 1.0

Post by mcrossley »

Hi George

The scrolling is working as expected. AutoScroll only scrolls the text if it is too long to fit in the box. So, it displays a scrolling forecast, then displays "Downloading..." which is static, then displays the forecast again, which starts scrolling again from the default position (20% of the width of box in from the left).

Mark
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: SteelSeries Gauges - version 1.0

Post by gwheelo »

The scrolling is working as expected.
Yes - as expected until a language flag is clicked.

With autoscroll "Off" - the language changes without a hitch.

With autoscroll "On" - things get messy. Sometimes the language changes and the display starts acting erratic and sometimes the language does not change anf the display acts erratic and sometimes it begins scrolin multiple languages.

GW
Image
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: SteelSeries Gauges - version 1.0

Post by gwheelo »

The scrolling is working as expected.

After playing a bit - I discover that with autoscroll "On" the first language change works perfectly - but then if I click another language flag the system breaks down. Perhaps this is a "buffer" problem that my code is not implementing.

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

Re: SteelSeries Gauges - version 1.0

Post by mcrossley »

George, I think I see what is wrong, but fixing it will take a while - I start a 2 week holiday tonight :D

I'll have a think about how to tackle it whilst I'm away - it is a fundamental problem that also causes a memory leak each time you switch languages, so it needs fixing.
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: SteelSeries Gauges - version 1.0

Post by gwheelo »

I start a 2 week holiday tonight

You take your time and enjoy - the happier you are the clearer your mind - in the end we all benefit!

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

Re: SteelSeries Gauges - version 1.0

Post by mcrossley »

Actually its not as bad as I first thought - but I'll still have a think about the best fix.
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: SteelSeries Gauges - version 1.0

Post by gwheelo »

Actually its not as bad as I first thought
Well that just makes the holiday that much pleasant - no real hard thinking.

Enjoy!

GW
Image
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: SteelSeries Gauges - version 1.0

Post by gemini06720 »

George, I have been playing with the different flags on your gauges page. Most languages seem to display properly, except those languages with accentuated characters. Have you tried deactivating the use of the digital fonts for the forecast (only) to see if that improve the display?
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: SteelSeries Gauges - version 1.0

Post by gwheelo »

deactivating the use of the digital fonts
I deactivate digitalfonts - performace remains the same,

Try it here:http://www.wheelocknet.net/canvas_g/gauges_ss_10a.html

Who is packing the suitcases?

GW
Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: SteelSeries Gauges - version 1.0

Post by beteljuice »

Not true - you still have the dual (multiple ?) language interference, but for us foreigners the accented characters now display properly ;)
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: SteelSeries Gauges - version 1.0

Post by gwheelo »

Not true
Well your right as usual, Beteljuice, but the serious problem still exists - the jitters, the mixed languages, and after the first language switch haphazard performance. A bit like too many pints at the pub!https://cumulus.hosiene.co.uk/posting.php ... =14&t=5478#

GW
Image
Trainman
Posts: 28
Joined: Fri 21 May 2010 5:47 pm
Weather Station: Davis VP2
Operating System: Windows 10
Location: Kvistgård Danmark
Contact:

Re: SteelSeries Gauges - version 1.0

Post by Trainman »

How do I change the encoding in the language.js file so it will be possible to show the danish characters æ,ø og å in the gauges and the charts? here is my page: http://kvistgaardvejr.dk/gauges-ss/gauges-ss.htm look in the compass- and rain gauges.
User avatar
mcrossley
Posts: 12958
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: SteelSeries Gauges - version 1.0

Post by mcrossley »

Kenneth, it should do already. Be careful when editing the language.js file that you save it in the same format as the one supplied - UTF-8. I just put the characters you supplied into my copy of the script and they seem to display fine (sorry, I did not check which character should be used where!).
Untitled-1.jpg
You do not have the required permissions to view the files attached to this post.
Post Reply