Page 6 of 7
Re: Editing the Dashboard.js file for different guage look.
Posted: Sun 05 Dec 2010 10:37 am
by mcrossley
Out of interest here is a quick play with the Bindows gauges...
http://weather.wilmslowastro.com/gaugesA/gauges.htm
Re: Editing the Dashboard.js file for different guage look.
Posted: Sun 05 Dec 2010 11:05 am
by captzero
Hi Mark,
I tried the new gauges_canvas.js, pointed it towards my realtime.txt file but came up with a blank canvas.
The bindows gauges look good too but I do like these. Soon you will give us TOO much choice.
EDIT: But they are growing on me

Re: Editing the Dashboard.js file for different guage look.
Posted: Sun 05 Dec 2010 11:17 am
by steve
captzero wrote:Soon you will give us TOO much choice.
I think so, too. There are lots of things that people have created that I'd like to have a play with, but there are just so many good ones now that I don't know where to begin

Re: Editing the Dashboard.js file for different guage look.
Posted: Sun 05 Dec 2010 11:35 am
by mcrossley
captzero wrote:I tried the new gauges_canvas.js, pointed it towards my realtime.txt file but came up with a blank canvas.
Hmm, odd. I just pointed my
test page to a 'test' realtime.txt (it's not raining here!) and it seems to work OK?
captzero wrote:The bindows gauges look good too but I do like these.
Ha ha, nothing like the hand drawn look eh?
The Bindows gauges are pretty flexible, you can drop the background, which will make them more like my gauges, and you can provide functions to colour the labels/pointer etc depending on value. I could also make them non-linear as again you can provide a function to plot value spacing.
Steve wrote:There are lots of things that people have created that I'd like to have a play with, but there are just so many good ones now that I don't know where to begin
I know the feeling, to much to play with, not enough time

Re: Editing the Dashboard.js file for different guage look.
Posted: Wed 08 Dec 2010 9:11 pm
by mcrossley
I did a bit more experimentation with the Bindows gauges (all functional except the rainfall)...
http://weather.wilmslowastro.com/gaugesA/gauges.htm
Re: Editing the Dashboard.js file for different guage look.
Posted: Wed 08 Dec 2010 9:24 pm
by Synewave
Mark,
They look fantastic, well done!
Re: Editing the Dashboard.js file for different guage look.
Posted: Wed 08 Dec 2010 9:27 pm
by nitrx
Great

urrm exept in IE..
Re: Editing the Dashboard.js file for different guage look.
Posted: Wed 08 Dec 2010 9:32 pm
by nking
Very nice indeed
Not that it matters at the moment but will not work in IE 9 beta either
Re: Editing the Dashboard.js file for different guage look.
Posted: Wed 08 Dec 2010 9:41 pm
by mcrossley
Oh dear!
It 'almost' works in 'quirks mode', but I wonder what is going wrong there? Who uses IE anyway

It bombs out in the Bindows code, but it is obviously something I am doing.
Re: Editing the Dashboard.js file for different guage look.
Posted: Wed 08 Dec 2010 9:43 pm
by nitrx
mcrossley wrote:Oh dear!
It 'almost' works in 'quirks mode', but I wonder what is going wrong there? Who uses IE anyway

It bombs out in the Bindows code, but it is obviously something I am doing.
The previous did work in IE they were a bit larger, I dont use IE but 60 percent does

Re: Editing the Dashboard.js file for different guage look.
Posted: Wed 08 Dec 2010 10:06 pm
by mcrossley
OK, found two things.
1. IE does not like Bindows on a HTML5 page
2. The crash in the gauges is a timing issue, the gauges cannot redraw their scales, so my code reloads the whole gauge if the scale changes. IE takes a lot longer to reinitialise the gauge, and when I call into it to update an gauge component it crashes because IE hasn't finished creating yet
Here is a page modified for IE - but some functions have been lost
http://weather.wilmslowastro.com/gaugesA/gauges2.htm
The original page works fine in Chrome though - I'll have to start using IE for some dev work

Re: Editing the Dashboard.js file for different guage look.
Posted: Wed 08 Dec 2010 10:08 pm
by nitrx
I will mail Bill Gates
-edit some funtions dont work in FF too in your version the previous did well in FFox except the rain..
Re: Editing the Dashboard.js file for different guage look.
Posted: Thu 09 Dec 2010 5:01 am
by Super-T
A tad cool inside your house MrCrossley....time to light the fire?
Re: Editing the Dashboard.js file for different guage look.
Posted: Thu 09 Dec 2010 7:35 am
by mcrossley
Super-T wrote:A tad cool inside your house MrCrossley....time to light the fire?
Nah, I just tell them to put an extra sweatshirt on

Re: Editing the Dashboard.js file for different guage look.
Posted: Fri 10 Dec 2010 4:45 pm
by nitrx
Why not use a redirect to another gauges page when IE is detected ?