jpgraphs installed and working can't see in Steel Series (RESOLVED)

Hi,
I decided to try again and get the graphs to work in my Steel Series Gauges. I installed jpgraphs again and it seems to be working, see below:

http://www.jolietwx.com/wxgraphs/month_rain.php

I’ve change in gauges.js to reflect the /wxgraph directory but I still am not seeing the graphs. Is there another setting I missed? Thanks in advance.

The link to the images is wrong
http://www.jolietwx.com/images/temp+hum_24hr.php => 404 error
http://www.jolietwx.com/wxgraphs/temp+hum_24hr.php is the correct link

This script http://www.jolietwx.com/scripts/gauges.js is used on your page, line 38 should be changed from

            imgPathURL         : './images/',            //*** Change this to the relative path for your 'Trend' graph images

to

            imgPathURL         : './wxgraphs/',            //*** Change this to the relative path for your 'Trend' graph images

Succes, Wim

I did notice when I was configuring gauges.js that the images directory was incorrect. I changed :‘/images/’ to :‘/wxgraphs/’. It didn’t work so I posted here. I did notice that you had :‘./wxgraphs/’ (you had a dot before the forward slash). I changed that but it still doesn’t work. Thank maybe I’m missing something else.

http://www.jolietwx.com/scripts/gauges.js still has:

 imgPathURL         : './images/',            //*** Change this to the relative path for your 'Trend' graph images

:oops: :oops: :oops: Oops! I actually changed the gauges.js file but uploaded it to the wrong directory. Thanks for the catch niko

:smiley:

I am having the same problem. I tried different paths but no luck.

This link works: http://www.kq5s.com/wd/wxgraphs/temp+hum_24hr.php

My weather site is: www.kq5s.com/wd/weather

My gauges are in www.kq5s.com/wd/gauges

wxgraphs are at www.kq5s.com/wd/wxgraphs

Currently I have imgPathURL : ‘./wxgraphs/’,

I have only configured the outdoor and indoor tempeatures so far:

config.realTimeURL = config.longPoll ? config.realTimeURL_LongPoll : config.realTimeURL_WD;
config.tipImgs = [ // config.tipImgs for Weather Display users with wxgraph
[‘temp+hum_24hr.php’, ‘indoor_temp_24hr.php’], // Temperature: outdoor, indoor

Thanks for any help.
Tom

Try imgPathURL : ‘…/wxgraphs/’,

I made the change and it still does not work.

// Script configuration parameters you may want to ‘tweak’
scriptVer : ‘2.4.3 - 2013-07-23’,
weatherProgram : 1, //Set 0=Cumulus, 1=Weather Display, 2=VWS, 3=WeatherCat, 4=Meteobridge
imgPathURL : ‘…/wxgraphs/’,
Tom

OK, now I’m confused because your gauges appear to be in KQ5S Albertville, AL - Home not www.kq5s.com/wd/gauges/ :?

Not sure what you are seeing but they are in www.kq5s.com/wd/gauges/ .

Tom

You’re right, the script is www.kq5s.com/wd/gauges/scripts/gauges.js but the viewed page is http://www.kq5s.com/wd/wxssgauges.php so I don’t understand why

‘./wxgraphs/’

doesn’t work :?

I am using ‘./wxgraphs/’ now and it isn’t working.

Tom

You have an extra quote ’

imgPathURL : ‘’./wxgraphs/',

Not really. I just copied and pasted it wrong into the message. Another thing that I do not understand. I only have the outdoor and indoor temperature configure. Shouldn’t I be getting a file not found when I put the mouse over other gauges? I was using graphs created by another weather program on a Mac earlier hence the jpg file names.

// Weather Display
_realtimeVer = 12; //minimum version of the realtime JSON file required
config.realTimeURL = config.longPoll ? config.realTimeURL_LongPoll : config.realTimeURL_WD;
config.tipImgs = [ // config.tipImgs for Weather Display users with wxgraph
[‘temp+hum_24hr.php’, ‘indoor_temp_24hr.php’], // Temperature: outdoor, indoor
// Temperature: dewpoint (Garage), apparent, windChill, heatIndex, humidex
[‘customgraph1.jpg’, ‘temperature1.jpg’, ‘windchill1.jpg’, ‘heatindex1.jpg’, ‘temperature1.jpg’],
‘precipitationc1.jpg’, // Rainfall
‘precipitation1.jpg’, // Rainfall rate
[‘rh1.jpg’, ‘rhin1.jpg’], // Humidity: outdoor, indoor
‘pressure1.jpg’, // Pressure
‘windspeed1.jpg’, // Wind speed
‘winddirection1.jpg’, // Wind direction
(config.showUvGauge ? ‘uv1.jpg’ : null), // UV graph if UV sensor is present | =null if no UV sensor
(config.showSolarGauge ? ‘solarrad1.jpg’ : null), // Solar rad graph if Solar sensor is present | Solar =null if no Solar sensor
(config.showRoseGauge ? ‘winddirection1.jpg’ : null),// Wind direction if Rose is enabled | =null if Rose is disabled
(config.showCloudGauge ? ‘cloudbase1.jpg’ : null) // Pressure for cloud height | =null if Cloud Height is disabled
];

Something very strange, your gauges page is looking for jpg instead of .php and filenames that don’t exist like http://www.kq5s.com/wd/wxgraphs/pressure1.jpg whereas you have graphs names baro_something.php like http://www.kq5s.com/wd/wxgraphs/baro_1hr.php

Never mind, I just see what you wrote about .jpg files.

I have to go now, sorry not to have been more help.

I tried it on my Mac computer and the graphs for temperature are working. Go figure. Do they work for you now?

Tom

They work on the Mac using Safari but not on the Mac using Chrome. The graphs appear to be working on Chrome for windows and Internet Explorer so the problem appears to be with Mac and Chrome.

Thanks for trying.

Tom