wviewweather.com Forum Index wviewweather.com
wview and Weather Topics
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Explanation of rain graph chart constructor?

 
Post new topic   Reply to topic    wviewweather.com Forum Index -> Troubleshooting
View previous topic :: View next topic  
Author Message
chrisale



Joined: 09 Nov 2005
Posts: 187

PostPosted: Thu Dec 22, 2005 1:46 pm    Post subject: Explanation of rain graph chart constructor? Reply with quote

As I feared, my decision to change the Metric conversion functions has already come and bit me in the butt. (see my new wishlist thread about the European weather collector)

Doh!

So now I'm going to have to go back and try converting the values from centimeters to millimeters in the user-images.c file rather than wvutils.

Could someone please explain how the values are computed and entered into the graphs in, for example the generateRainDay function for the rain/precip day chart?

I've managed to make the changes I want to buckets and dials.. but the charts are eluding me. I can't seem to find where the actual values are being gathered and inserted into the charts... I'm looking for somewhere where I can insert just one extra calculation (/10 or *10 usually) to get the value I'd like.

Any help is greatly appreciated.
Back to top
View user's profile Send private message MSN Messenger
chrisale



Joined: 09 Nov 2005
Posts: 187

PostPosted: Thu Dec 22, 2005 3:39 pm    Post subject: Reply with quote

I understand now why it's not as simple as the other functions... you're using a pointer instead of a regular float variable to grab the values.

That's beyond my level of expertise, so I guess I'll just leave it for now...
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    wviewweather.com Forum Index -> Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group