Page 4 of 15
Re: Yet more gauges
Posted: Wed 15 Jun 2011 10:42 am
by mcrossley
Another update...
Changes:
- new pointer style TYPE9
- tick label format control
- first cut of a linear gauge type (still very incomplete)
- added optional popup data (my invention - not convinced!)
Re: Yet more gauges
Posted: Wed 15 Jun 2011 1:52 pm
by JimDantin
I really like the gauges -- are you packaging up a ZIP for sharing?
Re: Yet more gauges
Posted: Wed 15 Jun 2011 2:05 pm
by mcrossley
Probably, but it is a while off being ready. The linear gauges are far from fully functional, and what I have put up is just a 'play' page so that I (and other folks) can play around with the various options to see what is possible. The 'orrible code behind it is growing organically by the day!
Re: Yet more gauges
Posted: Wed 15 Jun 2011 2:14 pm
by JimDantin
Code may be ugly, but the results are VERY nice. I appreciate your development efforts!
I can't run PHP on my website, so JS like this is really nice.
Re: Yet more gauges
Posted: Wed 15 Jun 2011 2:41 pm
by mcrossley
Thanks Jim, but the gauge library isn't mine - I'm just helping a bit. Oh, and it's raining now, so give the linear rain gauge a whirl (untested)
Re: Yet more gauges
Posted: Thu 16 Jun 2011 10:38 am
by gemini06720
Mark, it has been a while since I last posted a message in the forums - my Windows 7 crashed due to some needed system files getting corrupted after the download of an update of one of my registered software - it appears that a virus was 'accidentally' included into the update...
Just had a look at the gauges - very neat looking, indeed! As 'hinted' by Jim, it would be really, really nice if eventually in a future not too far a package containing all you hard work was released...
There was some mention of a more inclusive 'realtime+' type of file - I have been producing such a file (same format as the 'realtime.txt' file) containing a large number of the tags used by Cumulus - well, I am using only 206 tags to produce a 2,191 bytes file-size almost real-time 'realtimeextra.txt' file.
Re: Yet more gauges
Posted: Thu 16 Jun 2011 11:55 am
by mcrossley
The gauge code is coming on, the author has a demo page for the javascript version too:
http://idisk.mac.com/han.solo-Public/St ... eries.html
Re: Yet more gauges
Posted: Fri 17 Jun 2011 2:16 pm
by mcrossley
Author has now added separate LCD display components, I'm just using them for the status and timer for now. I may look at using them instead on the 'built-in' LCD panels in the linear gauges as they are a bit small.
Re: Yet more gauges
Posted: Fri 17 Jun 2011 8:28 pm
by JimDantin
Is the package open source, shareware, commercial, or what?
Re: Yet more gauges
Posted: Fri 17 Jun 2011 8:52 pm
by mcrossley
Open source, well the source is freely available (as with any JavaScript) but I think the author retains some rights.
The author is Gerrit Grunwald (
http://harmoniccode.blogspot.com/) he developed them as Java components and is gradually porting them to HTML5 Canvas and JavaScript - I'm just helping him with some testing, suggestions, nags etc! The Java gauges are currently much more varied and configurable than the JavaScript versions.
He is posting the updates to the script on his blog every so often, I'm getting interim builds, almost daily! I have added some amendments into Gerrits library and have to re-apply these to each release to keep the extra functionality I need - this is mainly to drive changes on the demo page and some will not be required for production use.
Edit2: If you want to keep up with the changes, follow Gerrit on twitter, he tweets about progress.
Re: Yet more gauges
Posted: Mon 20 Jun 2011 4:12 pm
by mcrossley
Todays updates (though you may have already seen some of them):
- Added a 'canvas' status LED object for Remote Sensor Status
- Added single line LCD panels for status and timer
- Added multi line LCD panel to wind compass (shows current and previous values)
- Change status panel to display the forecast whilst waiting for the next update
- Some tweaks and tune ups in the gauge library
Re: Yet more gauges
Posted: Tue 21 Jun 2011 12:15 pm
by mcrossley
And now added 'digital' fonts to the LCD displays. (optional of course)
http://bitly.com/lUAkfI
Re: Yet more gauges
Posted: Wed 22 Jun 2011 7:37 am
by steve
These are looking very good. They work fine in FF5.
Re: Yet more gauges
Posted: Wed 22 Jun 2011 7:58 am
by mcrossley
The LCD digital font was wrong before, I have changed it from Bold to UltraBold and it looks a bit better. I may have a play with a LCD 'dot matrix' font and see what that looks like.
Its great that we can now control the display of fonts in browsers rather than rely on what the end user has installed. Though I did notice that Chrome on my Windows XP box doesn't monospace the font quite right for some reason when exactly the same version of Chrome on Windows 7 does

Re: Yet more gauges
Posted: Wed 22 Jun 2011 8:09 am
by mcrossley
steve wrote:These are looking very good. They work fine in FF5.
Thanks Steve. Maybe not all the features would be used on a 'real page' but I want to demo what is possible.
I did have a thought that maybe people could play with the options and come up with pleasing combinations that they post, what is there now is just my stab at it. Obviously you cannot change the background 'sector' and scale 'area' colours on my page, but they are fully configurable. The linear gauges will also draw in a horizontal position too.