TodayPlus Boards v2

Programming and MOD Forums => Developer's Corner Discussion => Topic started by: Timmy on February 21, 2005, 02:57:24 PM

Title: Temperature charts
Post by: Timmy on February 21, 2005, 02:57:24 PM
__________________
EDIT: febr. 22, 2005 --> new pics
EDIT: febr. 23, 2005 --> new pic-names and added 'Feels like' pics


@ALL,

In this thread I'll post the Temperature charts.   The idea was born on some other threads of this forum. At least uk_skinner and Broesel were the great initiators, maybe more members, but I don't remember their names at this moment. Thank you, guys!

:arrow:  :arrow:  :arrow:   In this post you can find the Celcius-chart-files.   :arrow:  :arrow:  :arrow:

This is an example of some of the temperature-backgrounds:

(http://todayplus.jhollin1138.com/files/timmy/Example_thermo_background.jpg)


Tips:
•  The chart is ment for 24 hours-temperature. If you wish, you can (of course!!) make textlines for only 12 hours in your skinfile.
•  Write the necessary textlines in your skinfile and put the desired temperature-background somewhere in your skin. You also can add some text around the chart, if you wish, for example "Celcius" or some temmperatures or whatever you like;
•  After you've written the textlines necessary to show the temperature background, you can write the textlines for the pointer-pic of the first hour, the pointer-pic for the second hour and so on, untill the 24th hour.
•  Do you want the 'Feels like' pics on the foreground?? Then you have to write the skin-textlines after the temperature-pics.

==> You need uk_skinner's .exe to get the temperature of the 24 hours in the registry of your PCC. The thread that tells you more about this, you can find here (http://forums.jhollin1138.com/viewtopic.php?t=1784) .

:arrow:
:arrow:    The Celsius.zip files for VGA PocketPC's are here (http://todayplus.jhollin1138.com/files/timmy/Thermo-Celcius-VGA.zip)
:arrow:    And the Celsius.zip files for QVGA PocketPC's are here (http://todayplus.jhollin1138.com/files/timmy/Thermo-Celcius-QVGA.zip)
:arrow:

NOTE:
I've numbered the pointer-pics from -22°C (-22.png) to 40°C (40.png). I'm not sure if this will remain the picture-list in the future, because at the moment we are discussing what's the best numbering-list and what the best and most easy names are. I'll keep you informed.

Timmy
Title: Temperature charts
Post by: Timmy on February 21, 2005, 02:58:43 PM
@ALL,


:arrow:  :arrow:  :arrow:   In this post you can find the Fahrenheit-chart-files.   :arrow:  :arrow:  :arrow:


Tip:
•  Please, see the first post for more details.
•  You need uk_skinner's .exe to get the temperature of the 24 hours in the registry of your PCC. The thread that tells you more about this, you can find here (http://forums.jhollin1138.com/viewtopic.php?t=1784) .

:arrow:
:arrow:    The Fahrenheit.zip files for VGA PocketPC's are here (http://todayplus.jhollin1138.com/files/timmy/Fahrenheit-VGA.zip)
:arrow:    And the Fahrenheit.zip files for QVGA PocketPC's are here (http://todayplus.jhollin1138.com/files/timmy/Fahrenheit-QVGA.zip)
:arrow:

NOTE:
I've numbered the pointer-pics from -9°F (-9.png) to 104°F (104.png). I'm not sure if this will remain the picture-list in the future, because at the moment we are discussing what's the best numbering-list and what the best and most easy names are. I'll keep you informed.

Timmy
Title: Temperature charts
Post by: uk_skinner on February 21, 2005, 03:52:31 PM
Timmy:

:approve:  :clap:  :clap:

Again, great work....

Just finished the PHP script  for  hourly forecast .  The data will give you up to 48 hours of hourly forecast.  However, iyou also can specify the window.  In other words, you can have every 1, or 2, or 3.......47 hour forecast.
Title: Temperature charts
Post by: uk_skinner on February 21, 2005, 03:59:32 PM
Timmy:

 Just downloaded your VGA package.  The size of background is 233x100 for VGA.  And your scale is from -20C to 63C right?  

 I have something in my mind and I would like to test it.  Would it be possible you can send me just dot images no transparency strip?  Thanks.
Title: Temperature charts
Post by: Broesel on February 21, 2005, 04:04:51 PM
Quote from: uk_skinnerTimmy:

:approve:  :clap:  :clap:

Again, great work....

Really, good work  :D  :D  :D

Thanks again Timmy

Regards Broesel
Title: Temperature charts
Post by: Timmy on February 21, 2005, 04:07:56 PM
Quote from: uk_skinnerTimmy:

 Just downloaded your VGA package.  The size of background is 233x100 for VGA.  And your scale is from -20C to 63C right?
Uk_skinner, that's right!


Quote from: uk_skinnerI have something in my mind and I would like to test it.  Would it be possible you can send me just dot images no transparency strip?  Thanks.
That's possible. Gonna work at that job.

Timmy
Title: Temperature charts
Post by: Wichtel on February 21, 2005, 04:10:06 PM
Jep, very good work Timmy :clap:
Title: Temperature charts
Post by: uk_skinner on February 21, 2005, 04:17:12 PM
QuoteThat's possible. Gonna work at that job.

Thanks, Timmy, I did not mean to get you extra work. :oops:

I am using the 480 X 300 for temperature chart and so far I only up for 12 hours.   :lol:
Title: Temperature charts
Post by: Timmy on February 21, 2005, 04:41:15 PM
Quote from: uk_skinnerTimmy:

 I have something in my mind and I would like to test it.  Would it be possible you can send me just dot images no transparency strip?  Thanks.

Uk_skinner,

Here are the pointers (http://todayplus.jhollin1138.com/files/timmy/Uk_skinner-Celcius.zip) without the transparancy strip. They are now 10x10 pixels. I hope you can use them for your plans...

Timmy
Title: Temperature charts
Post by: Timmy on February 21, 2005, 04:46:53 PM
@Uk_skinner, @Broesel and @Wichtel,

I'm glad you like the things I've done.

And you all know it: this time I gave you things, another time you gave me things! That's why I like workplaces like this and some other forums!!!

Timmy
Title: Temperature charts
Post by: uk_skinner on February 21, 2005, 05:57:44 PM
Timmy:

Your pointers worked great.

But I need to confess again that I am no good in art.  But with Timmy's works I can just try to express the idea.  Here it is.  I hope some great skinner out there can make it better.   :oops:  :oops:
Title: Temperature charts
Post by: Timmy on February 22, 2005, 02:56:08 AM
Uk_skinner,

This is what I want to do for my own skin:

(http://todayplus.jhollin1138.com/files/timmy/Thermo_example.gif)


While testing, I noticed some points to improve these backgrounds:
•  the innerside (blue to yellow) must be somewhat lighter;
•  the x-line can remain where it is, but the little graduation-lines must disappear to make the background more universal.

Timmy
Title: Temperature charts
Post by: Timmy on February 22, 2005, 09:40:27 AM
@All,

As I wasn't satisfied with the result of my first serie, so I rebuild the backgrounds and the pointers:

•  The innerside (blue to yellow) of the backgrounds is more clear now.
• the x-line can remained where it was, but the little graduation-lines are deleted to make the background more universal.
•  The demensions of the backgounds are changed to 183x52 pixels (QVGA) and to 276x104 (VGA).
•  The demensions of the pointers are changed to 4x42 pixels (QVGA) and to 8x84 (VGA).

Timmy
Title: Temperature charts
Post by: Timmy on February 22, 2005, 11:51:43 AM
@All,

I've finished the Fahrenheit-pics. You vcan find them in the second post of this thread.

Timmy
Title: Temperature charts
Post by: ZapMe1 on February 22, 2005, 01:59:36 PM
"Outstanding" Work once again Mr. TP Artist !!   (http://smileys.smileycentral.com/cat/36/36_13_6.gif)
Great Job.......!
(http://smileys.smileycentral.com/cat/36/36_1_55.gif)
Title: Temperature charts
Post by: Broesel on February 22, 2005, 03:59:49 PM
Hey Timmy,

you named the pics for negative values t=1.png .... and so on.

I think it would be easyier to call them in the skin, if you name them
t-1.png, t-2.png ..... because if you do not so, you have to call them via
if, then ... else commands and with that name you can say t%varx%.png


Regards Broesel
Title: Temperature charts
Post by: Timmy on February 22, 2005, 04:01:20 PM
Quote from: ZapMe1"Outstanding" Work once again Mr. TP Artist !!   (http://smileys.smileycentral.com/cat/36/36_13_6.gif)
Great Job.......!
(http://smileys.smileycentral.com/cat/36/36_1_55.gif)

ZapMe1,

Thank you for your kind words, and specially for your nice Rembrandt van Rhijn smiley!  (Explanation: Rembrandt van Rhijn was one of our greatists painters.) I feel honnered, as you can guess...

Timmy
Title: Temperature charts
Post by: uk_skinner on February 22, 2005, 04:03:01 PM
Timmy:

 Do you look like Rembrandt van Rhijn?   :roll:
Title: Temperature charts
Post by: ZapMe1 on February 22, 2005, 04:22:38 PM
Timmy,

You do nice work !!  Maybe you are a distant Relative !!!  :wink:
Title: Temperature charts
Post by: Timmy on February 22, 2005, 04:23:10 PM
Quote from: uk_skinnerTimmy:

 Do you look like Rembrandt van Rhijn?   :roll:

Uk_skinner,

No, no, no ...  I don't look like Rembrandt, no, no ...   not at all...  But thanks for that nice idea... I can sleep well this night, I'm sure!
(http://www.cheesebuerger.de/images/midi/muede/a010.gif)

ZapMe1 didn't ever see me, so his imagination goes FAR ABOVE the reality... (http://www.cheesebuerger.de/images/more/bigs/e058.gif)


Timmy
Title: Temperature charts
Post by: Timmy on February 22, 2005, 04:33:12 PM
Quote from: BroeselHey Timmy,

you named the pics for negative values t=1.png .... and so on.

I think it would be easyier to call them in the skin, if you name them
t-1.png, t-2.png ..... because if you do not so, you have to call them via
if, then ... else commands and with that name you can say t%varx%.png


Regards Broesel

Broesel,

These are the tips I'm waiting for!  Thanks for your good suggestion! Keep in mind that I'm a real dummy (I am honnest!), so I need this kind of help! This is the solution for me:  't%varx%.png' and I'm gonna do it that way.

Tomorrow I'll change the names of the pics like you suggested, and upload them.

Thanks again!
Timmy
_________________________________
PS
Sorry Uk_skinner, by re-reading your last thread I saw you already gave that tip, too...  I didn't see it before...
Title: Temperature charts
Post by: Timmy on February 23, 2005, 03:19:58 PM
@All,

I've renamed all the pic-names:
t-23.png  ...  t40.png for Celcius Temperature
f-23.png  ...  f40.png for Celcius Feels like

t-9.png  ...   t104.png for Fahrenheit Temperature
f-9.png  ...   f104.png for Fahrenheit Feels like

As you can see, I've added 'Feels like' pics. An example ànd the downloads you can find in the first post.

Timmy
Title: Temperature charts
Post by: uk_skinner on February 27, 2005, 08:23:36 AM
Timmy:

 Please check this: http://www.tpfans.com/rss/TpTempchart.php?Citycode=NLXX0019&Para=20,20,360,150&U=C

I "stole" this concept from Weather Panel :oops:  :lol: . The idea is to generate a chart image using PHP then you can download the image using the radar.exe

This is still a "draft".  I will try to:

1)  Size adjustable. --> Done Para=x,y,width,height
2)  F or C --> Done U=C
3)  Day of week in other language
4)  Transparency background, then you lay it out on your nice background you created. --> Done
5) temp lable or not lable
6) Hourly temperature chart up to 48 hours? -->Done see below
7) Any other wish?


Yes, you still can use the temp pointers, once the size and position are determined.

Edit:  Hourly temp chart:
http://www.tpfans.com/rss/TpHourChart.php?Citycode=NLXX0019&Para=20,20,360,150&U=C
Title: Temperature charts
Post by: Broesel on February 28, 2005, 02:04:12 AM
Quote from: uk_skinnerThis is still a "draft".

uk_skinner: This is not a draft, this is .......   whow ......

:D :D :D

QuoteAny other wish?

Can we have wishes after we get new things nearly every day :?: :?:

Thanks this is :P :P :P

Regards Broesel
Title: Temperature charts
Post by: Timmy on February 28, 2005, 03:26:57 AM
Uk_skinner,

I'm realy impressed, again...

Two month ago you started to give us a Chrismas present (EZ_download), and you did'n't stop since that time to give us new presents... Where will this stop???

Compliments!

As I said more: I see you have an inventive mind with brilliant ideas! Good, to have you here.

Thanks!!!
Timmy
________________________________
NB
•  I think this is much easier for skinners than temperatuercharts and temperature points, isn't it?
•  We don't need TpHRForecast.exe, am I right?
•  I have a special place on mu PocketPC screen where I like to have the PHP-temperaturechart. Can you PHP work with certain demensions? Or is ther only one demension?
Title: Temperature charts
Post by: Broesel on February 28, 2005, 04:26:38 AM
Quote from: Timmy
•  I think this is much easier for skinners than temperatuercharts and temperature points, isn't it?

Yes, it is easier :D

Quote•  We don't need TpHRForecast.exe, am I right?

We don't need id for the temperaturecharts, if you want to display the
temperatures otherwise, you still need it.

Regards Broesel
Title: Temperature charts
Post by: uk_skinner on February 28, 2005, 06:01:30 AM
broesel and Timmy, thanks. for the good words.  :oops:

QuoteI have a special place on mu PocketPC screen where I like to have the PHP-temperaturechart. Can you PHP work with certain demensions? Or is ther only one demension?

You can specify the dimensions using "Para=".  There are 4 numbers in it.  The first two are offsets of (x,y).  You need some space to have the "number" for the y-axis.  The default is (20,20).  The thrid and forth numbers are (width, height) of the chart.  The  example I gave you was (360x150).  The actual size will be a little biger since the space also needs for the time label at x-axis.  

The width of the chart: x_offset + width + 25 = 20+360 +25 = 405
The height of the chart:y_offset + height + 25 = 20+150+25 = 195

At this moment, the size of font was fixed.  There are only 5 different sizes available in defaul PHP.  The ones I used for "hour" t x-axis in hourly chart was the smallest one.  

To convert to C, you just need to use "U=C", otherwise the default is "F".

Let me know you wish to add other other parameters.

QuoteWe don't need id for the temperaturecharts, if you want to display the
temperatures otherwise, you still need it.

broesel, again, you were right.  If you only need the chart, you only need to use radar.exe to download the image.

Edit:

In temperature chart (not hourly), you can spceify the size of the font for "Day of week".  The font size is only 1 - 5.  And the format of DOW (Day of week) can be specified as "X", "XX" or "XXX".  For example:
http://www.tpfans.com/rss/TpTempchart.php?Citycode=NLXX0015&Para=5,5,150,100&U=C&Font=1&DOW=X
Title: Temperature charts
Post by: Broesel on February 28, 2005, 02:04:41 PM
Quote from: uk_skinnerThe idea is to generate a chart image using PHP then you can download the image using the radar.exe

How do we have to store it as an image  :?:  This is a point, I'm not clear
over. Could you show, how the lines have to be in the radar.txt ?

Regards Broesel
Title: Temperature charts
Post by: uk_skinner on February 28, 2005, 02:21:18 PM
Quote from: Broesel
Quote from: uk_skinnerThe idea is to generate a chart image using PHP then you can download the image using the radar.exe

How do we have to store it as an image  :?:  This is a point, I'm not clear
over. Could you show, how the lines have to be in the radar.txt ?

Regards Broesel

Sorry, how could I forgot this important thing. :oops:  :roll:  :lol:
Here is an example:

SURL=http://tpfans.com/rss/TpHourChart.php?Citycode=GMXX0039&Para=20,20,200,120&U=C
STOR=\My Documents\Radar\r1.png
FORM=

The image format is png.  And it should have transparency background.
Title: Temperature charts
Post by: Timmy on February 28, 2005, 02:27:29 PM
@Uk_skinner,

I've tested every changeble item of this line:
http://www.tpfans.com/rss/TpTempchart.php?Citycode=NLXX0015&Para=5,5,150,100&U=C&Font=1&DOW=X
and saw that everything was working well!

@Broesel,

Can you check if my thoughts are right?
•  in my skintextlines I write the textlines to put down the temperaturechart-pic, downloaded by radar.
•  the inner site of my temperaturebackground-pic I make transparant
•  in my skintextlines I write the next textlines, to put down the temperaturebackground-pic
•  on my PPC-screen I see uk_skinners temperaturechart and my backgroundpic is as a painting list around it

Timmy
Title: Temperature charts
Post by: Broesel on February 28, 2005, 03:30:34 PM
Quote from: Timmy
@Broesel,

Can you check if my thoughts are right?
•  in my skintextlines I write the textlines to put down the temperaturechart-pic, downloaded by radar.

Yes

Quote•  the inner site of my temperaturebackground-pic I make transparant

It can be solid too, because the temperature-chart is transparent

Quote•  in my skintextlines I write the next textlines, to put down the temperaturebackground-pic

o.k.

Quote•  on my PPC-screen I see uk_skinners temperaturechart and my backgroundpic is as a painting list around it

right

Regards Broesel
Title: Temperature charts
Post by: Broesel on February 28, 2005, 03:32:44 PM
Quote from: uk_skinner

SURL=http://tpfans.com/rss/TpHourChart.php?Citycode=GMXX0039&Para=20,20,200,120&U=C
STOR=\My Documents\Radar\r1.png
FORM=

Thanks, got that to download, now having problems with downloading all
I want in one radar.txt. Will take a look first  ......

Thanks Broesel
Title: Temperature charts
Post by: uk_skinner on February 28, 2005, 03:44:28 PM
broesel:

 I just modified the hourly chart a little bit.  I added a new varibale that allow you to customerize the hour label.  The default is 2-hour.  This will come to useful if your image is small one.

http://tpfans.com/rss/TpHourChart.php?Citycode=GMXX0039&Para=20,20,200,120&U=C&W=5
Title: Temperature charts
Post by: Broesel on February 28, 2005, 03:49:27 PM
Quote from: uk_skinnerbroesel:

 I just modified the hourly chart a little bit.  I added a new varibale that allow you to customerize the hour label.  The default is 2-hour.  This will come to useful if your image is small one.

Hmm, did you change other scripts too ? Cannot get my city..data with
the weather.php

Warning: file_get_contents(http://www.weather.com/weather/local/GMXX0039): failed to open stream: Connection refused in /home/tpfansc/public_html/rss/weather.php on line 873

Warning: Cannot modify header information - headers already sent by (output started at /home/tpfansc/public_html/rss/weather.php:873) in /home/tpfansc/public_html/rss/weather.php on line 1196


Did I do something wrong ?

Regards Broesel
Title: Temperature charts
Post by: uk_skinner on February 28, 2005, 03:51:04 PM
broesel:

  It was the weather.com.  I could not get on weather.com at this moment...
Title: Temperature charts
Post by: Broesel on February 28, 2005, 03:56:17 PM
Quote from: uk_skinnerbroesel:

  It was the weather.com.  I could not get on weather.com at this moment...

:knownot: weather.com works fine for me, but not via the script  :knownot:

Regards Broesel
Title: Temperature charts
Post by: uk_skinner on February 28, 2005, 03:58:44 PM
That is odd.. I can not get on www.weather.com from here.

ALso if you go to http://de.weather.com/ the site works but the images are not showing because there are from weather.com.. :doh:

Edit:  I did not change the weather.php today... :think:
Title: Temperature charts
Post by: Broesel on February 28, 2005, 04:02:12 PM
Quote from: uk_skinnerThat is odd.. I can not get on www.weather.com from here.

ALso if you go to http://de.weather.com/, the site works but the images are not showing because there are from weather.com.. :doh:

Edit:  I did not change the weather.php today... :think:

O.k. thanks for testing, will try later, seems to be a temporaryly problem.

Regards Broesel
Title: Temperature charts
Post by: uk_skinner on February 28, 2005, 04:04:36 PM
No problem...

We have a not so big snow here.  Maybe that is the reason.
Title: Temperature charts
Post by: Broesel on February 28, 2005, 04:08:08 PM
Quote from: uk_skinnerNo problem...

We have a not so big snow here.  Maybe that is the reason.

Well, lots of snow here again  :(  Want to have spring with sun and flowers ...

Regards Broesel
Title: Temperature charts
Post by: Broesel on March 01, 2005, 02:32:20 AM
Well, tested again in the morning and no one of the scripts
weather.com, de.weather.com and yahoo does work. The new
tempchart scripts worked fine. So there maybe a problem with
weather.com or maybe the scripts are being blocked from weather.com
and yahoo ?

Regards Broesel
Title: Temperature charts
Post by: Broesel on March 01, 2005, 07:44:43 AM
uk_skinner: I tested all scripts and everything works again :D

As the scripts from your server, the yahoo-script on this forum and
the feed from thc didn't work, it must had to do with weather.com, I assume.

So thanks for your affort again, let's hope, weather.com will work normally
again

Regards Broesel
Title: Temperature charts
Post by: uk_skinner on March 01, 2005, 07:49:28 AM
Broesel:

  Well, you can test the ones I sent to you at your side when this happened again next time.  Since I usually went to thc's site and found out his also was not working,  I assumed the problem was from weather.com.  I also will try to see I can use different urls next time.
Title: Temperature charts
Post by: thc on March 01, 2005, 09:20:04 AM
hi all,

php on our french site works now, i think too is a probleme with weather.com...
Title: Temperature charts
Post by: Timmy on March 01, 2005, 03:00:27 PM
Hello Uk_skinner,

I've tested and tested again and everything is still OK! Nice! Time for another chart...

My new wish:
(http://todayplus.jhollin1138.com/files/timmy/TpHourChart.png)

Can you make a 48 hours Temperature chart with:
• only the 6, 12, 18 and 24 hours under the bottum line?
•  no days of the week under the bottom line?
•  let fall together the blue line with the 0° line?
• add the "Feels Like" temperature for the day-temperature (NOT the noight temperature!) in the colour light-grey (30% Black)?

Can you fix that? Would be good for my skin... If not: NO PROBLEM!

BTW: What's the meaning of the blue line?

Timmy
Title: Temperature charts
Post by: uk_skinner on March 01, 2005, 03:39:49 PM
QuoteCan you make a 48 hours Temperature chart with:
• only the 6, 12, 18 and 24 hours under the bottum line?

Ok, I can try.  Just let you know, you can specify the "window hour" in the labelling.

http://tpfans.com/rss/TpHourChart.php?Citycode=NLXX0015&Para=20,20,200,100&U=C&W=6

Quote• no days of the week under the bottom line?
I can add one more parameter.

Quote• let fall together the blue line with the 0° line?
• add the "Feels Like" temperature for the day-temperature (NOT the noight temperature!) in the colour light-grey (30% Black)?
BTW: What's the meaning of the blue line?

The blue line is the feel-like temperature.
Title: Temperature charts
Post by: Timmy on March 01, 2005, 04:04:34 PM
Quote from: uk_skinner
QuoteCan you make a 48 hours Temperature chart with:
• only the 6, 12, 18 and 24 hours under the bottum line?

Ok, I can try.  Just let you know, you can specify the "window hour" in the labelling.
http://tpfans.com/rss/TpHourChart.php?Citycode=NLXX0015&Para=20,20,200,100&U=C&W=6
Yes, I tried, it's working fine. The number of the wished hours is changable. Nice!

Quote from: uk_skinner
Quote• no days of the week under the bottom line?
I can add one more parameter.
OK! Please, make that possibility, too!


Quote from: uk_skinner
Quote• let fall together the blue line with the 0° line?
The blue line is the feel-like temperature.
I was meaning the straight blue line, not the curved line... Sorry, if wasn't clear enough!

Quote from: uk_skinner
Quote• add the "Feels Like" temperature for the day-temperature (NOT the night temperature!) in the colour light-grey (30% Black)?
BTW: What's the meaning of the blue line?

The blue line is the feel-like temperature.
Thanks for the explanation! Now I see...

But: can the darkblue 'Feelings' line be changed in another colour? Is something like that possible to do?

Timmy
Title: Temperature charts
Post by: uk_skinner on March 01, 2005, 05:45:57 PM
Timmy:

Try this:

http://tpfans.com/rss/TpHourChart.php?Citycode=NLXX0019&Para=20,20,200,100&U=C&Time=0,6,12,18&R_Color=196,196,196

"Time=0,6,12,18" allows you to show "24,6,12,18" on the time scale.

The colors of Frame, Temperature, Real Temperature, and Label color.  If you don't specify, they all will be default colors.

"F_Color=" : Frame color default : 15,196,15  
"T_Color=" : Temperature color: 196,15,15
"R_Color=" : Real Temperature color: 15,15,196
"La_Color=" : Label color: 0,0,0
Title: Temperature charts
Post by: Timmy on March 02, 2005, 01:20:06 AM
Quote from: uk_skinnerTimmy:

Try this:

http://tpfans.com/rss/TpHourChart.php?Citycode=NLXX0019&Para=20,20,200,100&U=C&Time=0,6,12,18&R_Color=196,196,196

"Time=0,6,12,18" allows you to show "24,6,12,18" on the time scale.

The colors of Frame, Temperature, Real Temperature, and Label color.  If you don't specify, they all will be default colors.

"F_Color=" : Frame color default : 15,196,15  
"T_Color=" : Temperature color: 196,15,15
"R_Color=" : Real Temperature color: 15,15,196
"La_Color=" : Label color: 0,0,0
Uk_skinner,

The more you learn of PHP, the more things are possible, I notice...

With a big smile on my face I gave your new invention a try...  and... everything is working well, again!!! I could use all the colours together in the same URL-text: it worked. I could change every colour to what I wanted, and: it worked, too!!!

I love your work more and more and more... And... ehhh... what should be my next wish.... ehhh... I have to think about that...

Thanks!
Timmy
Title: Temperature charts
Post by: Broesel on March 02, 2005, 03:24:40 AM
Quote from: uk_skinnerThe colors of Frame, Temperature, Real Temperature, and Label color.  If you don't specify, they all will be default colors.

Cool, another great extension of the script, I love it .....

QuoteI love your work more and more and more... And... ehhh... what should be my next wish.... ehhh... I have to think about that...

Well, I have no wishes at the moment, having enough to do with
implementing everything in the skin I use. :oops:

But I'm sure, we'll get more impressing things from uk_skinner. His skills are growing fast and I'd like to
understand the things he do, but as I'm really new to php and C# this will take a lot of time. :roll:

Even if I'm not the youngest, I am willed to learn new things and I'm really happy with the help from uk_skinner ... :D :D :D

Regards Broesel
Title: Temperature charts
Post by: Timmy on March 02, 2005, 03:32:39 AM
Quote from: TimmyI love your work more and more and more... And... ehhh... what should be my next wish.... ehhh... I have to think about that...[/color]
Uk_skinner,

Yes, I've found a new wish!!! Is it possible for you to add  "&Font=.." again to your last URL-textline???

Thanks!
Timmy
Title: Temperature charts
Post by: uk_skinner on March 02, 2005, 06:41:57 AM
broesel and Timmy:

 Thanks again for the good words.  I am also learning a lot from doing this. :oops:

Timmy:

 I can add the "Font=", but the one I used for hourly chart is the smallest one at x-axis right now.  You can not get smaller than that.  But here it is.   Use "YFont=" and "XFont=" to set the size of the fonts.  There are only "1-5" and the default of both are "1".

http://tpfans.com/rss/TpHourChart.php?Citycode=NLXX0019&Para=25,20,200,100&U=C&Time=0,6,12,18&R_Color=196,196,196&YFont=1&XFont=2
Title: Temperature charts
Post by: Timmy on March 02, 2005, 09:56:59 AM
Quote from: uk_skinnerTimmy:

 I can add the "Font=", but the one I used for hourly chart is the smallest one at x-axis right now.  You can not get smaller than that.  But here it is.   Use "YFont=" and "XFont=" to set the size of the fonts.  There are only "1-5" and the default of both are "1".

http://tpfans.com/rss/TpHourChart.php?Citycode=NLXX0019&Para=25,20,200,100&U=C&Time=0,6,12,18&R_Color=196,196,196&YFont=1&XFont=2
Uk_skinner,

You made it exactly as my wishes were! Thanks!

Timmy
Title: Temperature charts
Post by: Timmy on March 02, 2005, 01:05:41 PM
Uk_skinner,

One last question about this nice temperaturechart:
(http://www.jhollin1138.com/forums/files/1_186.png)

Is it possible to "Right aligns" the temperaturenumbers, instead of "Left aligns"?

Thanks!
Timmy
Title: Temperature charts
Post by: uk_skinner on March 02, 2005, 01:08:18 PM
Timmy:

 Somehow I have a feeling you are going to ask this... :shock:  :roll:   Ok, I will try to do it...

Edit: Done, please try again.
Title: Temperature charts
Post by: Timmy on March 02, 2005, 05:22:15 PM
Quote from: uk_skinnerTimmy:

 Somehow I have a feeling you are going to ask this... :shock:  :roll:   Ok, I will try to do it...

Edit: Done, please try again.
Uk_skinner,

Everything is like I asked, as you can see here:
(http://todayplus.jhollin1138.com/files/timmy/TpHourChart-02.png)

Looks nice! This one I'm going to put somewhere in my skin.

Thanks!!
Timmy
Title: Temperature charts
Post by: Broesel on March 03, 2005, 02:52:49 AM
uk_skinner: everything works fine now, but I have a wish too, if I may
ask you :?:

When the temperatures and the feels like-temperatures are equal, the
feels-like-chart overwrites the temperature-chart (see attached pic)

Is it possible to add a parameter to not show the feels-like-temp
(such as &Feel=n - &Feel=y)

Regards Broesel
Title: Temperature charts
Post by: Timmy on March 03, 2005, 03:06:48 AM
Quote from: BroeselIs it possible to add a parameter to not show the feels-like-temp (such as &Feel=n - &Feel=y)

Regards Broesel

Uk_skinner,

Or, maybe, the Temperature-line is always at top? (That would be my personal preference).

Timmy
Title: Temperature charts
Post by: uk_skinner on March 03, 2005, 06:40:29 AM
Broesel & Timmy:

Done.

1)  Temperature is always on the top.
2) New parameters "Ftemp" to switch feel-like on/off.  "Ftemp=N" will not show feel-like temp.  The default is "Yes".
Title: Temperature charts
Post by: Timmy on March 03, 2005, 06:45:53 AM
Quote from: uk_skinnerBroesel & Timmy:

Done.

1)  Temperature is always on the top.
2) New parameters "Ftemp" to switch feel-like on/off.  "Ftemp=N" will not show feel-like temp.  The default is "Yes".
Uk_skinner,

Thanks again!

Timmy
Title: Temperature charts
Post by: Broesel on March 03, 2005, 07:14:56 AM
Quote from: uk_skinnerBroesel & Timmy:

Done.

1)  Temperature is always on the top.
2) New parameters "Ftemp" to switch feel-like on/off.  "Ftemp=N" will not show feel-like temp.  The default is "Yes".

Well, what can I say :knownot:

Thanks is the smallest word, for what you do for us :lol:

Regards Broesel
Title: Temperature charts
Post by: Timmy on March 05, 2005, 01:38:36 PM
Uk_skinner,

Hope, you don't mind... but while working to implement this new feature in my own skin, there was a new wish...

While using this url:  Timmy's link (http://tpfans.com/rss/TpHourChart.php?Citycode=NLXX0015&Para=15,0,110,40&U=C&Time=0,12&R_Color=150,190,2004&T_Color=196,15,15&La_Color=0,0,0&F_Color=30,160,0&YFont=1&XFont=1)

I am receiving this picture (the picture is within the dark-blue area):
(http://todayplus.jhollin1138.com/files/timmy/Temp-chart.jpg)

Is it possible to increase the empty space at the lower part and at the right site? Would be nice!

Hope, I don't give you too much wishes...

Timmy

Edit by jhollin1138: Shortened Timmy's link.
Title: Temperature charts
Post by: Broesel on March 06, 2005, 07:15:11 AM
Quote from: Timmy
I am receiving this picture (the picture is within the dark-blue area):
(http://todayplus.jhollin1138.com/files/timmy/Temp-chart.jpg)

Is it possible to increase the empty space at the lower part and at the right site? Would be nice!

Why don't use the pic with

image,x,y,xxx.png,t

(Maybe with an other background) The pic is transparent and you won't see the white space.

Regards Broesel
Title: Temperature charts
Post by: uk_skinner on March 06, 2005, 12:50:24 PM
Quote from: TimmyUk_skinner,

Hope, you don't mind... but while working to implement this new feature in my own skin, there was a new wish...

While using this url:  Timmy's link (http://tpfans.com/rss/TpHourChart.php?Citycode=NLXX0015&Para=15,0,110,40&U=C&Time=0,12&R_Color=150,190,2004&T_Color=196,15,15&La_Color=0,0,0&F_Color=30,160,0&YFont=1&XFont=1)

I am receiving this picture (the picture is within the dark-blue area):
(http://todayplus.jhollin1138.com/files/timmy/Temp-chart.jpg)

Is it possible to increase the empty space at the lower part and at the right site? Would be nice!

Hope, I don't give you too much wishes...

Timmy

Edit by jhollin1138: Shortened Timmy's link.

Timmy:

 Odd, how came I miss your post??  I was here almost all the time???? :roll:

 Looks to me you need to increase the space at the top, right?  If you can show me exactly what you need (better with image), then I can try to make it for you.

 Broesel's idea is good too.

Edit:  Timmy, in TpTempchart, you can use "Lang=NL" to display day of week in Dutch.
Title: Temperature charts
Post by: Timmy on March 07, 2005, 03:47:47 AM
Quote from: Broesel
Quote from: Timmy
I am receiving this picture (the picture is within the dark-blue area):
(http://todayplus.jhollin1138.com/files/timmy/Temp-chart.jpg)

Is it possible to increase the empty space at the lower part and at the right site? Would be nice!

Why don't use the pic with

image,x,y,xxx.png,t

(Maybe with an other background) The pic is transparent and you won't see the white space.

Regards Broesel
Broesel,

While reading your post, I remember you already said this about a week ago... Sorry, I did forget that...

I'm gonna try your advice. It's a solution, indeed!

Thanks!
Timmy
Title: Temperature charts
Post by: Timmy on March 07, 2005, 03:54:35 AM
Quote from: uk_skinner
Quote from: TimmyUk_skinner,

Hope, you don't mind... but while working to implement this new feature in my own skin, there was a new wish...

While using this url:  Timmy's link (http://tpfans.com/rss/TpHourChart.php?Citycode=NLXX0015&Para=15,0,110,40&U=C&Time=0,12&R_Color=150,190,2004&T_Color=196,15,15&La_Color=0,0,0&F_Color=30,160,0&YFont=1&XFont=1)

I am receiving this picture (the picture is within the dark-blue area):
(http://todayplus.jhollin1138.com/files/timmy/Temp-chart.jpg)

Is it possible to increase the empty space at the lower part and at the right site? Would be nice!

Hope, I don't give you too much wishes...

Timmy

Edit by jhollin1138: Shortened Timmy's link.

Timmy:

 Odd, how came I miss your post??  I was here almost all the time???? :roll:

 Looks to me you need to increase the space at the top, right?  If you can show me exactly what you need (better with image), then I can try to make it for you.

 Broesel's idea is good too.

Edit:  Timmy, in TpTempchart, you can use "Lang=NL" to display day of week in Dutch.
Uk_skinner,

My point was, that the genetated picture had too much NOT USED space at the bottum and at the right site. I thougt it was better Not to have that useless space.

FYI: Yes, indeed, in the showed picture I had to increase the space at top.

Another question. It's a bit stupid. I know. But I can't get the days of the week at the bottum of the 48 hours temperature chart... Did I forget to put something in the rss-URL ?!?!?

Timmy
Title: Temperature charts
Post by: uk_skinner on March 07, 2005, 06:24:47 AM
Timmy:

  I see your points and will try to see I can do something about.  At beginning, I set a fixed space at the bottom for "time" display.  Also will try to add a parameter allow you to display the day.

Edit:  No language support yet in TpHourchart yet.:oops:   Will try to add it today.
Title: Temperature charts
Post by: Broesel on March 07, 2005, 06:57:48 AM
Well, I stated in the German PPC-Welt-Forum, how I implemented the
Temp- and Hourcharts in the skin, so here for all that are interested is an
easy way to call the pictures in the skintext:

Create two new registry-keys under \HKCU\Software\SRSSoft\TodayPlus\image :

Key 1: hourchart with content:
\Program Files\TodayPlus\Buffer\hourchart.png

and

Key 2: tempchart with content:
\Program Files\TodayPlus\Buffer\tempchart.png

where the value is the path, where you saved the pictures with radar.exe

Call the pictures in the skintext with:

image,x,y,%hourchart%,t

and

image,x,y,%tempchart%,t

It's an easy way to display them without changing the imagedir.

Regards Broesel
Title: Temperature charts
Post by: uk_skinner on March 07, 2005, 07:04:34 AM
broesel:

Good idea.. :approve:  :clap:
Title: Temperature charts
Post by: Broesel on March 07, 2005, 08:30:04 AM
Quote from: uk_skinnerbroesel:

Good idea.. :approve:  :clap:

Thanks, but I only like to save work :oops:

Regards Broesel
Title: Temperature charts
Post by: uk_skinner on March 07, 2005, 08:53:17 AM
Timmy:

 In case, you missed it.  Right now you can use "Lang=NL&DOW=Y" to show the day of week in TpHourChart.  Four different languages you can select, EN (default, no need to specify), GM, FR and NL.  The "DOW" default is "off".  
example (http://tpfans.com/rss/TpHourChart.php?Citycode=NLXX0015&Para=15,0,110,40&U=C&Time=0,12&R_Color=150,190,2004&T_Color=196,15,15&La_Color=0,0,0&F_Color=30,160,0&YFont=1&XFont=1&Lang=NL&DOW=Y)
Title: Temperature charts
Post by: Timmy on March 07, 2005, 11:32:32 AM
Quote from: Broesel
Quote from: uk_skinnerbroesel:

Good idea.. :approve:  :clap:

Thanks, but I only like to save work :oops:

Regards Broesel

Broesel,

I like your easy way to save work! Thanks!!!

Timmy
Title: Temperature charts
Post by: Timmy on March 07, 2005, 11:49:55 AM
Quote from: uk_skinnerTimmy:

 In case, you missed it.  Right now you can use "Lang=NL&DOW=Y" to show the day of week in TpHourChart.  Four different languages you can select, EN (default, no need to specify), GM, FR and NL.  The "DOW" default is "off".  
example (http://tpfans.com/rss/TpHourChart.php?Citycode=NLXX0015&Para=15,0,110,40&U=C&Time=0,12&R_Color=150,190,2004&T_Color=196,15,15&La_Color=0,0,0&F_Color=30,160,0&YFont=1&XFont=1&Lang=NL&DOW=Y)
Uk_skinner,

It's realy nice, all the beautiful stuff you've made last months!!! And sooooooooooo fast... Your example is working well!

My first question: do you mind that I'm asking so much(!) things from you??? I'm curious to know this answer!!!

Second question: Hope, the first answer is 'No'.... Can you make DOW=X for one, DOW=XX for two, and DOW=XXX for the three parts of the word of aday? ('m',  'ma',  'maa')

Timmy
Title: Temperature charts
Post by: uk_skinner on March 07, 2005, 11:53:03 AM
Timmy:

QuoteMy first question: do you mind that I'm asking so much(!) things from you??? I'm curious to know this answer!!!

Second question: Hope, the first answer is 'No'.... Can you make DOW=X for one, DOW=XX for two, and DOW=XXX for the three parts of the word of aday? ('m', 'ma', 'maa')

1) No.. I don't mind.
2) I will look into it.

Edit:  Timmy, done.  Broesel: could you please update your post in the German forum.  You can specify the format of DOW using "DOW=XXX, or XX, or X"  Thanks.
Title: Temperature charts
Post by: Timmy on March 07, 2005, 12:36:29 PM
Quote from: uk_skinnerTimmy:

QuoteMy first question: do you mind that I'm asking so much(!) things from you??? I'm curious to know this answer!!!

Second question: Hope, the first answer is 'No'.... Can you make DOW=X for one, DOW=XX for two, and DOW=XXX for the three parts of the word of aday? ('m', 'ma', 'maa')

1) No.. I don't mind.
2) I will look into it.

Edit:  Timmy, done.  Broesel: could you please update your post in the German forum.  You can specify the format of DOW using "DOW=XXX, or XX, or X"  Thanks.
Uk_skinner,

'The midnight express' is running fast, again...

I followed your work at the URL, and saw it's working with DOW=X (XX and XXX) ànd with DOW=Y (YY or YYY).

Thanks Uk_skinner, well done!
Timmy
Title: Temperature charts
Post by: uk_skinner on March 07, 2005, 12:42:03 PM
Timmy:

  The DOW only checks the number of the characters, so AAA, BB and CC will work.  But if more than 3, it will set as 3.

Edit:  The train for ImageViewer and radar.exe is slowwwwwwww....Expect to get my new PC today and will try to set up the proper software.  Then I can start to learn C#. So be patient.....
Title: Temperature charts
Post by: Timmy on March 07, 2005, 02:10:05 PM
Quote from: uk_skinnerTimmy:

  The DOW only checks the number of the characters, so AAA, BB and CC will work.  But if more than 3, it will set as 3.

Edit:  The train for ImageViewer and radar.exe is slowwwwwwww....Expect to get my new PC today and will try to set up the proper software.  Then I can start to learn C#. So be patient.....

Uk_skinner,

Oh, you lucky one...  a new PC...  is always MUCH faster and better than the old one...  Wish you many funny hours behind it!

And ehh... I'll be patient!

Timmy
Title: Temperature charts
Post by: Broesel on March 07, 2005, 02:13:48 PM
Quote from: uk_skinnerBroesel: could you please update your post in the German forum.  You can specify the format of DOW using "DOW=XXX, or XX, or X"  Thanks.

Done, thanks for the feature  :D

Regards Broesel
Title: Temperature charts
Post by: Timmy on March 07, 2005, 03:36:39 PM
Broesel,

I need your help!

I tried several things, but nothing works... Can you, please, give some good textlines for my next wishes:

- a button is on place 39,16
the beginning of the button textline is: button,39,16,12,15,-1,...  and the rest I couldn't find.

- clicking on this button must give the 'background_01.pic' on place 45,16
and 'c%var0%hourchart.pic' on place 50,20

Those pictures remain in the same region, region 3, the region of the weather forecast.

Broesel, can you fix those textlines for me?!? Would be very appreciated, cause I can't find the right textlines myself...

Timmy
Title: Temperature charts
Post by: Broesel on March 07, 2005, 03:50:21 PM
Quote from: TimmyBroesel,

I need your help!

I tried several things, but nothing works... Can you, please, give some good textlines for my next wishes:

- a button is on place 39,16
the beginning of the button textline is: button,39,16,12,15,-1,...  and the rest I couldn't find.

- clicking on this button must give the 'background_01.pic' on place 45,16
and 'c%var0%hourchart.pic' on place 50,20

Those pictures remain in the same region, region 3, the region of the weather forecast.

Broesel, can you fix those textlines for me?!? Would be very appreciated, cause I can't find the right textlines myself...

Timmy

Don't know, if I understand that right, but I think, something like this:

button,39,16,12,15,-1,6,var25=1,3
..
..
..
if,var,var25,,=,1
image,45,16,background_01.pic,t
image,50,20,c%var0%hourchart.pic,t
button,39,16,12,15,-1,6,var25=2,3
else
if,var,var25,,=,2
button,39,16,12,15,-1,6,var25=1,3
other skintext
..
..
..
endif
endif


????

Regards Broesel
Title: Temperature charts
Post by: Timmy on March 07, 2005, 03:59:58 PM
Quote from: Broesel
Quote from: TimmyBroesel,

I need your help!

I tried several things, but nothing works... Can you, please, give some good textlines for my next wishes:

- a button is on place 39,16
the beginning of the button textline is: button,39,16,12,15,-1,...  and the rest I couldn't find.

- clicking on this button must give the 'background_01.pic' on place 45,16
and 'c%var0%hourchart.pic' on place 50,20

Those pictures remain in the same region, region 3, the region of the weather forecast.

Broesel, can you fix those textlines for me?!? Would be very appreciated, cause I can't find the right textlines myself...

Timmy

Don't know, if I understand that right, but I think, something like this:

button,39,16,12,15,-1,6,var25=1,3
..
..
..
if,var,var25,,=,1
image,45,16,background_01.pic,t
image,50,20,c%var0%hourchart.pic,t
button,39,16,12,15,-1,6,var25=2,3
else
if,var,var25,,=,2
button,39,16,12,15,-1,6,var25=1,3
other skintext
..
..
..
endif
endif


????

Regards Broesel

Broesel,

Ok, I think I understand it: I have to assign a new var to that particular button.  I'm gonna work with it. Maybe, I can work this out myself. If not, I'm coming back with new questions...

Thanks for leading my thoughts in the right direction!

Timmy
Title: Temperature charts
Post by: Timmy on March 09, 2005, 04:48:58 PM
Quote from: BroeselWell, I stated in the German PPC-Welt-Forum, how I implemented the
Temp- and Hourcharts in the skin, so here for all that are interested is an
easy way to call the pictures in the skintext:

Create two new registry-keys under \HKCU\Software\SRSSoft\TodayPlus\image :

Key 1: hourchart with content:
\Program Files\TodayPlus\Buffer\hourchart.png

and

Key 2: tempchart with content:
\Program Files\TodayPlus\Buffer\tempchart.png

where the value is the path, where you saved the pictures with radar.exe

Call the pictures in the skintext with:

image,x,y,%hourchart%,t

and

image,x,y,%tempchart%,t

It's an easy way to display them without changing the imagedir.

Regards Broesel
Broesel,

I've tried this for my five cities, but then this don't work, isn't it? I think this is only a solution when you have temepraturecharts for only ONE city, right?!?

I tried to find something for five cities, but couldn't find a good solution... I can put the right lines in the Registry, but after that I didn't find any textlines in the skinfile that did work...

Timmy
Title: Temperature charts
Post by: uk_skinner on March 09, 2005, 04:58:32 PM
Timmy:

I never done this but you can try this:

1) Make key for hourchart of each city you have, like this :

Key 1: hourchart of city 1 with content:
\Program Files\TodayPlus\Buffer\hourchart1.png

Key 2: hourchart of city 2 with content:
\Program Files\TodayPlus\Buffer\hourchart2.png

2) in your skin call the image using: the varX is your city ID

image,x,y,%hourchart%varX%%,t
Title: Temperature charts
Post by: Timmy on March 09, 2005, 05:19:51 PM
Quote from: uk_skinnerTimmy:

I never done this but you can try this:

1) Make key for hourchart of each city you have, like this :

Key 1: hourchart of city 1 with content:
\Program Files\TodayPlus\Buffer\hourchart1.png

Key 2: hourchart of city 2 with content:
\Program Files\TodayPlus\Buffer\hourchart2.png

2) in your skin call the image using: the varX is your city ID

image,x,y,%hourchart%varX%%,t
Uk_skinner,

I already used the same textline in my skin, and I already put the same text in the registry, but it don't work...

Timmy

EDIT:
I forget to say that I've my own solution: Radar.exe copies the pics to my common TodayPlus image file. Then it's not difficult to get the pic on my screen: The textlines in my skin are easy to write.
Title: Temperature charts
Post by: uk_skinner on March 09, 2005, 05:36:38 PM
Timmy:

    I just tried, it worked when I added the registry keys.  Probably, there are some small bugs in your skin.  I would suggest that you send it  to broesel to review.
Title: Temperature charts
Post by: Timmy on March 10, 2005, 02:16:05 AM
Quote from: uk_skinnerTimmy:

    I just tried, it worked when I added the registry keys.  Probably, there are some small bugs in your skin.  I would suggest that you send it  to broesel to review.
Uk_skinner,

I'm sure I have some BIG bugs in my skin, as usual... First I'll try it myself, but if I don't be lucky, I'll ask Broesel to help me.

Timmy
Title: Temperature charts
Post by: Broesel on March 10, 2005, 03:02:42 AM
Quote from: Timmy
I forget to say that I've my own solution: Radar.exe copies the pics to my common TodayPlus image file. Then it's not difficult to get the pic on my screen: The textlines in my skin are easy to write.

Timmy, if you copy the pics into your Image-Folder, there is no need
to use the registry for this.

You only have to call the images with the normal image-command:

image,x,y,hourchart1.png,t
image,x,y,hourchart2.png,t

and so on.
You only have to be sure, that the pictures are there and the names are right.

Regards Broesel
Title: Temperature charts
Post by: Timmy on March 10, 2005, 02:29:13 PM
Broesel,

I'm sorry I must tell you that all my efforts leads to nowhere... Every thing I try, fails...  So, please, help me again!

This is my skintext:
button,40,12,12,15,-1,6,var3=1-highlight,3
if,var,var3,,=,1
image,51,1,Tempback-01.png,
image,51,1,hourchart%var0%.png,t
button,40,12,12,15,-1,6,var3=2-highlight,3
else
if,var,var3,,=,2
button,40,12,12,15,-1,6,var3=1-highlight,3
updateregions,3,0
endif
endif


Explanation of the things I'm trying:
1) in an excisting region (region,3,0) I want to see temporaly the hourchart1.png
2) the highlighted button (button,40,12) is working: when clicking you see the box
3) when clicking on the button (button,40,12), the Tempback-01.png must appear in the background, and the hourchart.png in the foreground: this don't work
4) when clicking again, the original screen has to appear again: this don't work

What are the mistakes I made???

Timmy
Title: Temperature charts
Post by: Broesel on March 10, 2005, 03:20:46 PM
Quote from: Timmy
This is my skintext:
button,40,12,12,15,-1,6,var3=1-highlight,3
if,var,var3,,=,1
image,51,1,Tempback-01.png,
image,51,1,hourchart%var0%.png,t
button,40,12,12,15,-1,6,var3=2-highlight,3
else
if,var,var3,,=,2
button,40,12,12,15,-1,6,var3=1-highlight,3
updateregions,3,0
endif
endif


o.K. the codelines I gave you where only examples, but I made a fault,
it will not update your region without a rerendering of the region. So please
try this:

initvar,var3,2   //(this can be at the beginning of the skin to not show the pic)

if,var,var3,,=,1
       image,51,1,Tempback-01.png,
image,51,1,hourchart%var0%.png,t
button,40,12,12,15,3,6,var3=2-highlight,-1
else
if,var,var3,,=,2
button,40,12,12,15,3,6,var3=1-highlight,-1
endif
endif


Regards Broesel
Title: Temperature charts
Post by: Timmy on March 10, 2005, 04:09:31 PM
Quote from: Broeselo.K. the codelines I gave you where only examples, but I made a fault,
it will not update your region without a rerendering of the region. So please
try this:

initvar,var3,2   //(this can be at the beginning of the skin to not show the pic)

if,var,var3,,=,1
       image,51,1,Tempback-01.png,
image,51,1,hourchart%var0%.png,t
button,40,12,12,15,3,6,var3=2-highlight,-1
else
if,var,var3,,=,2
button,40,12,12,15,3,6,var3=1-highlight,-1
endif
endif


Regards Broesel
Broesel,

You gave the right lines. I'm a happy man: everything works fine now. Thank you very much for those textlines!!!

Timmy
Title: Temperature charts
Post by: Timmy on March 10, 2005, 04:24:50 PM
Uk_skinner,

Thanks to Broesels help I can present you your own TempChart.  Clicking on the gives this display:
(http://todayplus.jhollin1138.com/files/timmy/Temp-chart.jpg)
Nice, isn't it?!?

To make this nice little pic even more beautiful, I ask you: can you make it possible to have only three temperaturenumbers in the left site? Would improve my little pic again...

What do you think?!?

Timmy
Title: Temperature charts
Post by: Broesel on March 10, 2005, 04:30:56 PM
Quote from: Timmy
You gave the right lines. I'm a happy man: everything works fine now. Thank you very much for those textlines!!!

So, I'm happy too  :D

Veel plezier!  and  Goedeavond!

Regards Broesel
Title: Temperature charts
Post by: Timmy on March 11, 2005, 07:09:41 AM
Quote from: Broesel
Quote from: Timmy
You gave the right lines. I'm a happy man: everything works fine now. Thank you very much for those textlines!!!

So, I'm happy too  :D

Veel plezier!  and  Goedeavond!

Regards Broesel
Broesel,

Dank für das Beantworten in meiner eigenen Sprache!

Timmy
Title: Temperature charts
Post by: uk_skinner on March 11, 2005, 07:20:36 AM
Timmy:

  Looks great.....

 
QuoteTo make this nice little pic even more beautiful, I ask you: can you make it possible to have only three temperaturenumbers in the left site? Would improve my little pic again...

I will add one more parameter to allow you specify how many "grid" lines at y-axis.
Title: Temperature charts
Post by: Timmy on March 11, 2005, 07:42:43 AM
Quote from: uk_skinnerTimmy:

  Looks great.....

 
QuoteTo make this nice little pic even more beautiful, I ask you: can you make it possible to have only three temperaturenumbers in the left site? Would improve my little pic again...

I will add one more parameter to allow you specify how many "grid" lines at y-axis.
Uk_skinner,

Thanks for working at the gridlines at y-axis!! When that's finished, I'm ready with the TpHourChart!

=====================================
Next step

My next step is implementing your TpTempChart in my skinfile. For the TpTempChart (see attachement) I have some wishes:
•  the temperaturenumbers in the leftsite, as it is with your TpHourChart
•  the colourchange-possibilities for the same items as it is in TpHourChart
•  no straight blue line from left to right
•  parameter for "grid" lines at y-axis

Hope you can fix those things! And ehhh... I'll be patience... Take your time!!!

Timmy
Title: Temperature charts
Post by: Broesel on March 11, 2005, 07:57:24 AM
Quote from: Timmy
•  DOW in a prefered language

This one is already implemented :D

http://www.tpfans.com/rss/TpTempchart.php?Citycode=GMXX0039&Para=10,10,150,60&U=C&DOW=X&Lang=NL

Regards Broesel
Title: Temperature charts
Post by: Timmy on March 11, 2005, 08:04:50 AM
Quote from: Broesel
Quote from: Timmy
•  DOW in a prefered language

This one is already implemented :D

http://www.tpfans.com/rss/TpTempchart.php?Citycode=GMXX0039&Para=10,10,150,60&U=C&DOW=X&Lang=NL

Regards Broesel

Broesel,

You are right. I'll delete those wishes in my earlier post.

Timmy
Title: Temperature charts
Post by: uk_skinner on March 11, 2005, 09:17:33 AM
QuoteTo make this nice little pic even more beautiful, I ask you: can you make it possible to have only three temperaturenumbers in the left site? Would improve my little pic again...

Timmy:

  Try this (http://tpfans.com/rss/TpHourChart.php?Citycode=NLXX0015&Para=16,4,122,32&U=C&Time=0,12&R_Color=150,190,2004&T_Color=196,15,15&La_Color=0,0,0&F_Color=30,160,0&YFont=1&XFont=1&YS=4)

Use "YS=" to specify how many lines you wish for y-axis.  Default value is "5" and if "0" will give you no line.

Edit: broesel, could you update it at German site, please?  Thanks.
Title: Temperature charts
Post by: Timmy on March 11, 2005, 09:23:37 AM
Quote from: uk_skinner
QuoteTo make this nice little pic even more beautiful, I ask you: can you make it possible to have only three temperaturenumbers in the left site? Would improve my little pic again...

Timmy:

  Try this (http://tpfans.com/rss/TpHourChart.php?Citycode=NLXX0015&Para=16,4,122,32&U=C&Time=0,12&R_Color=150,190,2004&T_Color=196,15,15&La_Color=0,0,0&F_Color=30,160,0&YFont=1&XFont=1&YS=4)

Use "YS=" to specify how many lines you wish for y-axis.  Default value is "5" and if "0" will give you no line.
Uk_skinner,

I've tried it, and I must say: PERFECT!!! It's exactly what I needed!

Thanks for all the improvements you are able to create!!!

Timmy
Title: Temperature charts
Post by: uk_skinner on March 11, 2005, 11:03:45 AM
Quote• the temperaturenumbers in the leftsite, as it is with your TpHourChart
• the colourchange-possibilities for the same items as it is in TpHourChart
• no straight blue line from left to right
• parameter for "grid" lines at y-axis

Try this (http://tpfans.com/rss/TpTempchart.php?Citycode=NLXX0015&Para=16,4,122,32&U=C&Time=0,12&R_Color=150,190,2004&T_Color=196,15,15&La_Color=0,0,0&F_Color=30,160,0&YFont=1&XFont=1&YS=4&DOW=X&Lang=NL&FP=N)

"FP=" is the one you specify to show "freeze-poin" line.  The default is "Y", so you need "FP=N" if you don't want see it.

Another change is the "Font=" is replaced with "XFont" and "YFont".  Broesel, please updated on the German forum.  I will try to do it here too.
Title: Temperature charts
Post by: Timmy on March 11, 2005, 11:42:12 AM
Quote from: uk_skinner
Quote• the temperaturenumbers in the leftsite, as it is with your TpHourChart
• the colourchange-possibilities for the same items as it is in TpHourChart
• no straight blue line from left to right
• parameter for "grid" lines at y-axis

Try this (http://tpfans.com/rss/TpTempchart.php?Citycode=NLXX0015&Para=16,4,122,32&U=C&Time=0,12&R_Color=150,190,2004&T_Color=196,15,15&La_Color=0,0,0&F_Color=30,160,0&YFont=1&XFont=1&YS=4&DOW=X&Lang=NL&FP=N)

"FP=" is the one you specify to show "freeze-poin" line.  The default is "Y", so you need "FP=N" if you don't want see it.

Another change is the "Font=" is replaced with "XFont" and "YFont".  Broesel, please updated on the German forum.  I will try to do it here too.
Uk_skinner,

You're almost full-prof... Everything works fine... The tpfans.com/rss has realy become a TodayPlus FANS rss-feed!!!

Testresults:
•  all the colourchanges are working well
•  the Font changes are still OK
•  all the colourchanges are working well
•  the Y-axis can be in- and decreased well
•  the language-change works well
•  the dimensions are to change well
•  the DOW's (Mon/Mo/M) are doing their work
•  the freezepoint-line is there, if you want that

Compliments!!! A great improvement!!! I'm very glad with the things you create!!!

You don't believe it, but I have a wish, again... Yes, ok, shoot at me... Left and right of the temperature-lines there's too much empty space. Can you make the temperaturelines 1) to begin more left, and 2) to end more right???

Timmy
Title: Temperature charts
Post by: Broesel on March 11, 2005, 11:44:01 AM
Quote from: uk_skinnerBroesel, please updated on the German forum.

Done, thanks for the update  :D

Regards Broesel
Title: Temperature charts
Post by: uk_skinner on March 11, 2005, 12:45:39 PM
QuoteYou don't believe it, but I have a wish, again... Yes, ok, shoot at me... Left and right of the temperature-lines there's too much empty space. Can you make the temperaturelines 1) to begin more left, and 2) to end more right???

Done and try.
Title: Temperature charts
Post by: Timmy on March 11, 2005, 12:47:55 PM
Quote from: uk_skinner
QuoteYou don't believe it, but I have a wish, again... Yes, ok, shoot at me... Left and right of the temperature-lines there's too much empty space. Can you make the temperaturelines 1) to begin more left, and 2) to end more right???

Done and try.
Uk_skinner,


Timmy
Title: Temperature charts
Post by: Timmy on March 11, 2005, 12:49:55 PM
Uk_skinner,

As you can see in my post, one higher: I had

NO  WORDS

for it... :wink:

And: sorry for you, but I have no further wishes at this moment  :?

Timmy
Title: Temperature charts
Post by: Broesel on March 11, 2005, 12:55:57 PM
Quote from: Timmy
And: sorry for you, but I have no further wishes at this moment  :?

@uk_skinner: Wait until tomorrow  :wink:  :lol:  :lol:  :lol:

Regards Broesel
Title: Temperature charts
Post by: uk_skinner on March 11, 2005, 01:12:47 PM
Somehow I have the same feeling.... :think:

Timmy, get a VGA device...
Title: Temperature charts
Post by: Timmy on March 11, 2005, 05:30:50 PM
(http://www.cheesebuerger.de/images/midi/konfus/c018.gif)    (http://www.cheesebuerger.de/images/midi/konfus/c018.gif)    (http://www.cheesebuerger.de/images/midi/konfus/c018.gif)    (http://www.cheesebuerger.de/images/midi/konfus/c018.gif)    (http://www.cheesebuerger.de/images/midi/konfus/c018.gif)
Title: Temperature charts
Post by: Timmy on March 12, 2005, 11:49:06 AM
A tribute specially to uk_skinner for all the new features he develloped,

but also for Broesel for his technical support in writing the right skin textlines.

I specially posted these three animated gif's to give you both the credits you deserve!



██████████████████████████████████████████████




..............................The new Compass feature:

(http://todayplus.jhollin1138.com/files/timmy/Animated_Compass.gif)




██████████████████████████████████████████████




..............................The new TpHourChart feature:

(http://todayplus.jhollin1138.com/files/timmy/Animated_HourTemp.gif)




██████████████████████████████████████████████




..............................The new TpTempchart feature:

(http://todayplus.jhollin1138.com/files/timmy/Animated_WeekTemp.gif)





██████████████████████████████████████████████



With many thanks!
Timmy
Title: Temperature charts
Post by: uk_skinner on March 12, 2005, 12:35:02 PM
Timmy:


  Great works......Looks very impressive.....You should show it to the world.  Again, get a VGA device, you will not regret...

    :clap:  :clap:  :clap:  :approve:  :approve:  :approve:
Title: Temperature charts
Post by: jhollin1138 on March 12, 2005, 12:49:36 PM
Quote from: uk_skinner.....Again, get a VGA device, you will not regret...
Are you buying?  If so, I'll take one.  :lol:
Title: Temperature charts
Post by: ZapMe1 on March 12, 2005, 02:08:06 PM
Quote from: jhollin1138uk_skinner wrote:
.....Again, get a VGA device, you will not regret...

Are you buying? If so, I'll take one. Laughing

I'm not sure if he is buying, but knowing him, he will somehow write an EXE to change QVGA to VGA !!  :lol:
Title: Temperature charts
Post by: Timmy on March 12, 2005, 02:26:04 PM
Quote from: ZapMe1I'm not sure if he is buying, but knowing him, he will somehow write an EXE to change QVGA to VGA !!  :lol:

Yes uk_skinner...  DO IT.....!  DO IT....! DO IT.....!  DO IT.....!  DO IT.....! YES.....!  YES.....!

Timmy
Title: Temperature charts
Post by: uk_skinner on March 12, 2005, 02:29:17 PM
Quote from: Timmy
Quote from: ZapMe1I'm not sure if he is buying, but knowing him, he will somehow write an EXE to change QVGA to VGA !!  :lol:

Yes uk_skinner...  DO IT.....!  DO IT....! DO IT.....!  DO IT.....!  DO IT.....! YES.....!  YES.....!

Timmy

Didn't I tell you not to eat too much cookies over the weekend?  That was exactly the reason.  :rofl:
Title: Temperature charts
Post by: Timmy on March 12, 2005, 02:55:19 PM
Quote from: uk_skinner
Quote from: Timmy
Quote from: ZapMe1I'm not sure if he is buying, but knowing him, he will somehow write an EXE to change QVGA to VGA !!  :lol:

Yes uk_skinner...  DO IT.....!  DO IT....! DO IT.....!  DO IT.....!  DO IT.....! YES.....!  YES.....!

Timmy

Didn't I tell you not to eat too much cookies over the weekend?  That was exactly the reason.  :rofl:
But I like cookies ànd I like VGA...  :oops:  :oops:  :oops:

Timmy
Title: Temperature charts
Post by: Broesel on March 13, 2005, 11:24:30 AM
Quote from: TimmyA tribute specially to uk_skinner for all the new features he develloped,
but also for Broesel for his technical support in writing the right skin textlines.

I specially posted these three animated gif's to give you both the credits you deserve!

Thanks for the credit, Timmy, I like your screenshots and I'm glad, you
like all the new things  :D

Regards Broesel
Title: Temperature charts
Post by: uk_skinner on April 04, 2005, 08:43:26 AM
Looks like the WeatherPanel also include the hourly temperture chart in their latest release.

:lol:

here (http://forums.marsware.net/viewtopic.php?p=3722#3722)
Title: Temperature charts
Post by: Broesel on April 04, 2005, 08:58:13 AM
Quote from: uk_skinnerLooks like the WeatherPanel also include the hourly temperture chart in their latest release.

:lol:

Since we have you, eemond and Rotlaus for all the *.exe and *.php - files,
there is no need to buy software for weatherforecasts :D
We can have, what we like on the screen and where we
like it :lol:

Regards Broesel
Title: Temperature charts
Post by: Wichtel on April 04, 2005, 10:15:43 AM
Quote from: uk_skinnerLooks like the WeatherPanel also include the hourly temperture chart in their latest release.

:lol:

here (http://forums.marsware.net/viewtopic.php?p=3722#3722)

Marsware looks into our Forum and copy many things  :twisted: . The same procedure was with the Radarpics. We have Radarpics, two weeks later Marsware have also Radarpics
Title: Temperature charts
Post by: uk_skinner on April 04, 2005, 10:27:22 AM
Quote from: Wichtel
Quote from: uk_skinnerLooks like the WeatherPanel also include the hourly temperture chart in their latest release.

:lol:

here (http://forums.marsware.net/viewtopic.php?p=3722#3722)

Marsware looks into our Forum and copy many things  :twisted: . The same procedure was with the Radarpics. We have Radarpics, two weeks later Marsware have also Radarpics
Wichtel:

 Cool down... They will have forecast text details too.
Title: Temperature charts
Post by: Timmy on April 04, 2005, 10:57:17 AM
Quote from: BroeselSince we have uk_skinner, eemond and Rotlaus for all the *.exe and *.php - files,
there is no need to buy software for weatherforecasts :D
We can have, what we like on the screen and where we
like it :lol:

Regards Broesel

Broesel,

I fully agree with the things you say here! Nice spoken!

Timmy
Title: Temperature charts
Post by: uk_skinner on April 04, 2005, 11:25:38 AM
Animated weather icons...:think:
Animated weather icons...:think:
Animated weather icons...:think:
Title: Temperature charts
Post by: Timmy on April 04, 2005, 11:29:17 AM
Uk_skinner,

Be patience...  One day, we'll have them!!!

Timmy
Title: Temperature charts
Post by: uk_skinner on April 04, 2005, 11:38:28 AM
Quote from: TimmyUk_skinner,

Be patience...  One day, we'll have them!!!

Timmy

Timmy:

 I have made the old ImageViewer to an AniImageViewer.  Just prove the prinicple.  The question is how to incorporate into TP.  Do you have any animated weather icons?  Not in animated gif format, but is serial frame format.  If you do, can you just send me one set to test.  If you can have the size just like the one in TP (VGA), that will be great.
Title: Temperature charts
Post by: Wichtel on April 04, 2005, 12:01:11 PM
Quote from: uk_skinner
Wichtel:

 Cool down... They will have forecast text details too.

I have no Problem with that. It says only that we have the leading TodayPlugin  :D and all others have to look what we doing  :wink:
Title: Temperature charts
Post by: Timmy on April 04, 2005, 12:04:30 PM
Quote from: uk_skinnerTimmy:

 I have made the old ImageViewer to an AniImageViewer.

OEPS... You are serious??? So: we don't need very much patience??? Would be nice!!!


Quote from: uk_skinner
Do you have any animated weather icons?  Not in animated gif format, but is serial frame format.

Just to be sure: you mean the single pictures, by which the animated gif is build up?!?

Timmy
Title: Temperature charts
Post by: uk_skinner on April 04, 2005, 12:16:05 PM
QuoteOEPS... You are serious??? So: we don't need very much patience??? Would be nice!!!

Well, we still need to be patience.  I only can get one right now.  I thought I posted it here.  Using the same approach that it should be able to display animated images anywhere in the screen.  However, there is one major task need to be addressed first.  I need to make sure the mutiple animated image can be displayed.

QuoteJust to be sure: you mean the single pictures, by which the animated gif is build up?!?

I will try to see animated gif can be displayed.  But this is a long shot.  The alternative is to display serial of images in a time loop.  So the multiple frames is needed just like cartoon.  So if you have, let's say 10 frames for one weather icon, then please send to me.  I can let AniImageViewer to show 1 to 10 every 0.5 secs.
Title: Temperature charts
Post by: Timmy on April 04, 2005, 12:27:25 PM
Quote from: uk_skinnerSo if you have, let's say 10 frames for one weather icon, then please send to me.  I can let AniImageViewer to show 1 to 10 every 0.5 secs.

Uk_skinner,

I'm seeking for a good serie, end mail it to you as soon as I'm finished.

Timmy
Title: Temperature charts
Post by: tree99 on April 04, 2005, 03:19:54 PM
UK

I have an incomplete set of animated weather icons split into individual frames.  I have each frame in a different folder but each file is the same name.  I tried animated weather with T+ by changing the wearher icons folder, but as you know T+ does not refresh quickly enough. I had a 3 second gap.
the frames go like this;
weathericonsfolder\animated\1\1.jpg
weathericonsfolder\animated\2\1.jpg
weathericonsfolder\animated\3\1.jpg
weathericonsfolder\animated\4\1.jpg
weathericonsfolder\animated\5\1.jpg
weathericonsfolder\animated\6\1.jpg
etc. etc.

Do you want my icons?
Title: Temperature charts
Post by: uk_skinner on April 04, 2005, 03:29:48 PM
Quote from: tree99UK

I have an incomplete set of animated weather icons split into individual frames.  I have each frame in a different folder but each file is the same name.  I tried animated weather with T+ by changing the wearher icons folder, but as you know T+ does not refresh quickly enough. I had a 3 second gap.
the frames go like this;
weathericonsfolder\animated\1\1.jpg
weathericonsfolder\animated\2\1.jpg
weathericonsfolder\animated\3\1.jpg
weathericonsfolder\animated\4\1.jpg
weathericonsfolder\animated\5\1.jpg
weathericonsfolder\animated\6\1.jpg
etc. etc.

Do you want my icons?

tree99:

   Sure, I can try them.  Do you have VGA ones?
Title: Temperature charts
Post by: tree99 on April 04, 2005, 03:58:33 PM
UK

sorry, just QVGA.  I don't have a VGA device.  I have seen one and I am so so jealous. The text is so crisp.

where do you want me to send the anims?