Sandaysoft

Support forum for Cumulus weather station software
It is currently Wed Jun 19, 2013 8:43 pm
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 115 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8  Next
Author Message
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Sat May 12, 2012 9:03 pm 
Offline
User avatar

Joined: Fri Jun 24, 2011 5:57 pm
Posts: 178
Location: USA
Weather Station: Davis Vantage Pro2
Operating System: Windows XP3
Marcel,

Happy to hear that the instructions were helpful and that you were successful. Thanks for the compliment.

I like your website too. It looks like you have a nice view of the Atlantic.


Kerry

_________________
http://www.tobyspondweather.com
twitter: @tobyspond


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Mon Jun 04, 2012 6:52 pm 
Offline

Joined: Fri Nov 12, 2010 9:47 pm
Posts: 4
Location: Germany
Weather Station: PCE FWS 20
Operating System: Windows 7 32 and 64bit
@All
Thanks for the instructions. Helped me a lot.
http://www.luckscher.de/Wetter/gauges.htm

_________________
Roberto

http://www.luckscher.de/Wetter/index.htm
Image


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Tue Jun 05, 2012 5:29 pm 
Offline
User avatar

Joined: Wed Dec 21, 2011 11:04 am
Posts: 155
Location: Essex
Weather Station: Oregon WRM200 and Davis VP1
Operating System: W7
Thanks for all the help posted here, spent ages last night trying to get it working, now just need to spend some more time getting them lined up better.

Will also attempt the odometer at sometime as well.

http://www.cm2weather.co.uk/gauges-ss.htm

_________________
Image


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Wed Jun 06, 2012 9:21 pm 
Offline
User avatar

Joined: Wed Dec 21, 2011 11:04 am
Posts: 155
Location: Essex
Weather Station: Oregon WRM200 and Davis VP1
Operating System: W7
mcrossley wrote:
Hi Kerry, it's a timing thing. The image isn't available (downloaded yet) when the script first draws the gauges. The radar does not redraw the background after the initial draw, the other gauges do if they re-scale/change units/titles etc.

What you could try is adding a slight delay to the script, change...
Code:
// Kick it all off
$(document).ready(function() {
  init();
});

to
Code:
// Kick it all off
$(document).ready(function() {
  setTimeout(init, 500); // 0.5 second delay
});


Or, you could add the image to the start main page with a hidden style, and refer to that in the script.

Also you are downloading the image twice, you can lose all three statements refering to imgLarge as you do not seem to use it...
Code:
var g_imgSmall = null;
var g_imgLarge = null;

var g_imgSmall = document.createElement("img");                 // small logo
var g_imgLarge = document.createElement("img");                 // large background image
g_imgSmall.setAttribute("src", g_imgPathURL + "gold4.png");
g_imgLarge.setAttribute("src", g_imgPathURL + "gold4.png");



I know this is going back a bit, but I can't seem to get my logo working on the wind rose gauge.

Any idea what I've missed out, I've added the 500 delay in the init, but must be missing something else somewhere?

Any pointers please,

www.cm2weather.co.uk/gauges-ss.htm

_________________
Image


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Wed Jun 06, 2012 9:39 pm 
Offline
User avatar

Joined: Fri Jun 24, 2011 5:57 pm
Posts: 178
Location: USA
Weather Station: Davis Vantage Pro2
Operating System: Windows XP3
Hi,

You need to uncomment the code around line 194 of the gauges.js - remove the slashes for the last three lines.

change this:
// Optional - add a background image
// var drawSize = g_size * 0.831775;
// var x = (g_size - drawSize) / 2;
// ctxBackground.drawImage(g_imgSmall, x, x, drawSize, drawSize);


to this:
// Optional - add a background image
var drawSize = g_size * 0.831775;
var x = (g_size - drawSize) / 2;
ctxBackground.drawImage(g_imgSmall, x, x, drawSize, drawSize);



Kerry

_________________
http://www.tobyspondweather.com
twitter: @tobyspond


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Wed Jun 06, 2012 9:41 pm 
Offline
User avatar

Joined: Wed Dec 21, 2011 11:04 am
Posts: 155
Location: Essex
Weather Station: Oregon WRM200 and Davis VP1
Operating System: W7
Thanks for the quick reply.

I'll give that a go in a minute.

_________________
Image


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Wed Jun 06, 2012 9:47 pm 
Offline
User avatar

Joined: Wed Jun 11, 2008 7:36 pm
Posts: 386
Location: L'Estartit, Spain
Weather Station: WMR-968
Operating System: Windows 8
Quote:
can't seem to get my logo working on the wind rose gauge.


That's a great looking logo - but - for me it makes the gauges difficult to read. Perhaps one copy of the logo per page and where it does not interfere with the information you are providing.

gwheelo

_________________
Image


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Wed Jun 06, 2012 9:52 pm 
Offline
User avatar

Joined: Wed Dec 21, 2011 11:04 am
Posts: 155
Location: Essex
Weather Station: Oregon WRM200 and Davis VP1
Operating System: W7
Thanks Kerry,

Worked a treat.
Now just need to make a new logo, as it looks a bit square now, in the WindRose one.
www.cm2weather.co.uk/gauges-ss.htm
It's all a learning curve for me.

Now going to try and break some more stuff, and add an LCD to the Wind Speed, and move the Windrun odoMeter to the Windrose.

Hmmmmm

Another day I think..

_________________
Image


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Wed Jun 06, 2012 10:03 pm 
Offline
User avatar

Joined: Wed Dec 21, 2011 11:04 am
Posts: 155
Location: Essex
Weather Station: Oregon WRM200 and Davis VP1
Operating System: W7
gwheelo wrote:
Quote:
can't seem to get my logo working on the wind rose gauge.


That's a great looking logo - but - for me it makes the gauges difficult to read. Perhaps one copy of the logo per page and where it does not interfere with the information you are providing.

gwheelo


Thanks, I'll have a play about when I get some more time, may need to change the colours a bit.

Logo was done by girlfriends daughter.

_________________
Image


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Wed Jun 06, 2012 10:10 pm 
Offline
User avatar

Joined: Fri Jun 24, 2011 5:57 pm
Posts: 178
Location: USA
Weather Station: Davis Vantage Pro2
Operating System: Windows XP3
breaking stuff is the best way to learn!

Try 250x250 for the size of your logo, I seem to remember having to play around with mine to get the logo to fit properly. You can consider removing the words from your logo to improve readability.

Anyways your gauge page is looking nice.

Kerry

_________________
http://www.tobyspondweather.com
twitter: @tobyspond


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Mon Aug 13, 2012 8:49 pm 
Offline

Joined: Wed Aug 08, 2012 6:27 pm
Posts: 16
Location: France
Weather Station: Davis Vantage Pro+
Operating System: Seven
Hello,

Sorry for my bad english, I'm French.
I added the code of the radar in the file "gauge.js", and that's what I get:

Image

What it correct to display within the gauge?

Thank you.


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Tue Aug 14, 2012 8:21 am 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2596
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
It's a start, some of it is working, but a link to your web page will be needed to see what the problem is ;)

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Tue Aug 14, 2012 9:41 am 
Offline

Joined: Wed Aug 08, 2012 6:27 pm
Posts: 16
Location: France
Weather Station: Davis Vantage Pro+
Operating System: Seven
Thank you. Yes, I forgot to put the link: www.meteo-kogenheim.fr/page_instruments2.php


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Tue Aug 14, 2012 2:32 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2596
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
First problem your realtime gauges template file has quotation marks around the wind data ie.
WindRoseData: "[<#WindRoseData>]",

should be:
WindRoseData: [<#WindRoseData>],

I haven't had a chance to investigate further yet, but it looks like it is something trivial...

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: SteelSeries Radar Plot
PostPosted: Tue Aug 14, 2012 7:27 pm 
Offline

Joined: Wed Aug 08, 2012 6:27 pm
Posts: 16
Location: France
Weather Station: Davis Vantage Pro+
Operating System: Seven
I made ​​the change, but it does not work. What surprises me is that the bottom of the picture does not appear.

If I put the link to the files "RGraph.common.core.min.js" and "RGraph.radar.min.js" count stops once you get to zero, whereas with the files "RGraph.common. core.js "and" RGraph.radar.js "everything seems to run fine except the bottom of the drawing and graphics.

Thank you for spending time to find the solution.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 115 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group