Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

No pop-up trend graphs on mouse-hover over SS gauges

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
User avatar
GeeWIS
Posts: 7
Joined: Sat 24 Nov 2012 7:53 pm
Weather Station: Aercus Intruments WS-3083
Operating System: Windows 7 64bit
Location: Fakenham, Norfolk. UK
Contact:

No pop-up trend graphs on mouse-hover over SS gauges

Post by GeeWIS »

Sorry guys but I need your help.

I recently installed Cumulus v1.9.2 and set up v2 beta of SteelSeries gauges. Gauges look and work great (as does the fabulous Cumulus of course) but I cant get any of the mouse-over popup trend graphs to show graphical data. The correct text data is shown in the appropriate header but no .png graph images using either IE 8 or Chrome v23 (with Win 7 64bit). I see the graph images in my web account folder (/htdocs/Weather/images) and they are updated according to the schedule. The 'gauges' files (.js, .htm, .css) are one level up in the 'Weather' directory.

I feel it must be a path/finger problem but I just cant find it. Any suggestions greatly appreciated.

Best

David G
Colkirk Weather

If all you have is a hammer, everything looks like a nail.
User avatar
mcrossley
Posts: 12778
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: No pop-up trend graphs on mouse-hover over SS gauges

Post by mcrossley »

David, could you provide a link to the page?
water01
Posts: 3259
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: No pop-up trend graphs on mouse-hover over SS gauges

Post by water01 »

David, I have the same setup and I think your imgPathURL in gauges.js reads like this

Code: Select all

imgPathURL        : './images/',
when it should read like this

Code: Select all

imgPathURL        : 'images/',
David
Image
User avatar
GeeWIS
Posts: 7
Joined: Sat 24 Nov 2012 7:53 pm
Weather Station: Aercus Intruments WS-3083
Operating System: Windows 7 64bit
Location: Fakenham, Norfolk. UK
Contact:

Re: No pop-up trend graphs on mouse-hover over SS gauges

Post by GeeWIS »

Hi Mark,

Its www.gittens.plus.com/Weather

Apols I hadnt put it in my UCP at the time of posting

Best

David
Colkirk Weather

If all you have is a hammer, everything looks like a nail.
User avatar
GeeWIS
Posts: 7
Joined: Sat 24 Nov 2012 7:53 pm
Weather Station: Aercus Intruments WS-3083
Operating System: Windows 7 64bit
Location: Fakenham, Norfolk. UK
Contact:

Re: No pop-up trend graphs on mouse-hover over SS gauges

Post by GeeWIS »

Thanks water01. You are absolutely right, I did have the extra '/' in front of 'images/' in gauges.js. I changed it to 'images/' but it made no difference. I see your pop-up trend graphs work OK though.

Just to be clear, I modified gauges.js in C:\Cumulus which uploaded to my web site directory htdocs/Weather/.

Thanks anyway. Im sure it will turnout to be something like that.

Best

David
Colkirk Weather

If all you have is a hammer, everything looks like a nail.
User avatar
mcrossley
Posts: 12778
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: No pop-up trend graphs on mouse-hover over SS gauges

Post by mcrossley »

Your script is configured for "/images/"

Looking at your site either "images/" or "/Weather/images/" should work.
User avatar
GeeWIS
Posts: 7
Joined: Sat 24 Nov 2012 7:53 pm
Weather Station: Aercus Intruments WS-3083
Operating System: Windows 7 64bit
Location: Fakenham, Norfolk. UK
Contact:

Re: No pop-up trend graphs on mouse-hover over SS gauges

Post by GeeWIS »

Thanks Mark but Im a bit confused. Looking at the web site version of gauges.js file [in /Weather/] I see:

// Script configuration parameters you may want to 'tweak'
scriptVer : '2.0.0beta5 - 2012-11-15',
weatherProgram : 0, //Set 0=Cumulus, 1=Weather Display
imgPathURL : 'images/', //*** Change this to the relative path for your 'Trend' graph images
oldGauges : 'gauges.htm', //*** Change this to the relative path for your 'old' gauges page.

Ive also tried : " imgPathURL : '/Weather/images/' " but get the same result.

This suggests Im editing the wrong file - or the right file in the wrong location. Can you set me straight please?

Best

David
Colkirk Weather

If all you have is a hammer, everything looks like a nail.
User avatar
mcrossley
Posts: 12778
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: No pop-up trend graphs on mouse-hover over SS gauges

Post by mcrossley »

The file on your server still has:

Code: Select all

imgPathURL        : '/images/',
are you sure you are uploading the updated script to the right place on your webserver?

Edit: Ah, no, I see you are uploading the amended script to...
http://www.gittens.plus.com/Weather/gauges.js

but your gauges-ss page is configured to pick up this one...
http://www.gittens.plus.com/Weather/scripts/gauges.js
User avatar
GeeWIS
Posts: 7
Joined: Sat 24 Nov 2012 7:53 pm
Weather Station: Aercus Intruments WS-3083
Operating System: Windows 7 64bit
Location: Fakenham, Norfolk. UK
Contact:

Re: No pop-up trend graphs on mouse-hover over SS gauges

Post by GeeWIS »

Doh, doh, doh, doh, doh!
Many thanks Mark. You were right (of course). The pop-up trend graphs are working fine for me now. :clap:

FYI, I edited C:\Cumulus\web\gauges-ssT.htm to point to 'gauges.js' in the Cumulus web site 'root' directory (/Weather/) and not the '/scripts' directory as it had been, ie
Was : <script src="scripts/gauges.js"></script>
Now : <script src="gauges.js"></script>

C:\Cumulus\web\gauges-ssT.htm (which apparently gets copied/processed by Cumulus to 'gauges-ssT.htmtmp') is uploaded to the same web site root directory as 'gauges.js'.

Thanks again

David
Colkirk Weather

If all you have is a hammer, everything looks like a nail.
Post Reply