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 4018) - 28 March 2024

Legacy Cumulus 1 release v1.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

Minor graph issue2

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

The PIT
Posts: 260
Joined: Thu 10 Dec 2009 6:15 pm
Weather Station: Davis VP2 Wireless
Operating System: Windows 7 32 bit
Location: England
Contact:

Minor graph issue2

Post by The PIT »

Just noticed that when using the latest templates for trends.htm anf historic.htm they don't resize properly when going from full screen. I haven't updated the selectgraph and that works properly.

See https://www.sheffieldweather.net/trends2.htm and https://www.sheffieldweather.net/historic2.htm

Just noticed something else and that a # gets added to the end url for these pages and haven't a clue why.
Based in Sunny Old Sheffield South Yorkshire England

www.sheffieldweather.co.uk
User avatar
mcrossley
Posts: 12697
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Minor graph issue2

Post by mcrossley »

They resize OK for me?

The # fragment is the update that gives you the ability to link directly to a particular graph, rather than load the default graph.

eg. Your recent wind graph - https://www.sheffieldweather.net/trends2.htm#wind
Mapantz
Posts: 1778
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Minor graph issue2

Post by Mapantz »

I see it.

If you go to full screen and back out again, the graph container becomes tall, not the size it was when the page was first loaded.
Image
User avatar
mcrossley
Posts: 12697
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Minor graph issue2

Post by mcrossley »

Which browser are you using - I do not see that behaviour in Edge.

Also desktop or mobile?
Mapantz
Posts: 1778
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Minor graph issue2

Post by Mapantz »

Edge / Desktop
Image
User avatar
PaulMy
Posts: 3777
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Minor graph issue2

Post by PaulMy »

I can duplicate what Mapantz mentioned and also in Edge, with PC Windows 10.
One image is page from initial Trends selection, and the other after exit full screen.

p.s. difference trends content is that one is CMX with Vue/WiFiLogger and the other with CMX and WLL

Enjoy,
Paul
You do not have the required permissions to view the files attached to this post.
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
User avatar
mcrossley
Posts: 12697
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Minor graph issue2

Post by mcrossley »

Nope still cannot reproduce - can you give me some screen resolutions, and browser window sizes (you can get the latter in dev tools).

And when you say "full screen", you do mean pressing F11 and not "maximised" - I cannot reproduce with either though!
Mapantz
Posts: 1778
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Minor graph issue2

Post by Mapantz »

mcrossley wrote: Tue 11 May 2021 8:25 pm Nope still cannot reproduce - can you give me some screen resolutions, and browser window sizes (you can get the latter in dev tools).

And when you say "full screen", you do mean pressing F11 and not "maximised" - I cannot reproduce with either though!
Clicking the burger menu on the highcharts graph and then clicking 'view in full screen'
Image
User avatar
PaulMy
Posts: 3777
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Minor graph issue2

Post by PaulMy »

Hi Mark,
As Mapantz mentioned - Clicking the burger menu on the highcharts graph and then clicking 'view in full screen' and then 'Exit from full screen'.
My screen resolution is the Windows recommended 1920 x 1080
I've tried to find the browser window sizes but haven't found that yet :oops:

Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
User avatar
mcrossley
Posts: 12697
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Minor graph issue2

Post by mcrossley »

Ah right - the HighCharts full screen mode!

It's a bug in HighCharts - https://github.com/highcharts/highcharts/issues/13222

Looks like they have fixed it, looks like it is in v9.1.0 which is three releases up from where we are - including a major release. So more testing required before I could jump to that.

You could try as an experiment changing the pages script URL to: https://code.highcharts.com/stock/9.1/highstock.js
And see if 1. It fixes the issue, 2. Anything else breaks!
User avatar
HansR
Posts: 5874
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Minor graph issue2

Post by HansR »

Don't know if this helps, but in CumulusUtils I always use the current stable version from CDN: https://code.highcharts.com/stock/highstock.js (so that's 9.1 at the moment) and there is no problem. So I assume that can be seen as a first test.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
mcrossley
Posts: 12697
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Minor graph issue2

Post by mcrossley »

I've been bitten one too many times by HighCharts changing things in updates that break my graphs to stay on latest. :( That's why I have pinned to minor versions, it still allows fixes to that version to be picked up but not anything major. The problem is you then have to periodically update.
User avatar
HansR
Posts: 5874
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Minor graph issue2

Post by HansR »

mcrossley wrote: Wed 12 May 2021 10:27 am I've been bitten one too many times by HighCharts changing things in updates that break my graphs to stay on latest. :( That's why I have pinned to minor versions, it still allows fixes to that version to be picked up but not anything major. The problem is you then have to periodically update.
You have been working with HighCharts a bit longer than me, can't beat that experience ;)
I assume in 2012 - wasn't that when you started with HC - it was less stable with less process control then it is now.
So far (two years now) I have not seen any problems with my method.
Confidence 8-)
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
The PIT
Posts: 260
Joined: Thu 10 Dec 2009 6:15 pm
Weather Station: Davis VP2 Wireless
Operating System: Windows 7 32 bit
Location: England
Contact:

Re: Minor graph issue2

Post by The PIT »

Ahh it's a highcharts issue.
Yup changing the script to 9.1 fixes it can't see anything else broken.
Should have mentioned Browsers and resolutions. Sometimes you've got to remember to be precise and say you've tested different browsers and platforms etc.
Looks like notepad++ time.
Based in Sunny Old Sheffield South Yorkshire England

www.sheffieldweather.co.uk
The PIT
Posts: 260
Joined: Thu 10 Dec 2009 6:15 pm
Weather Station: Davis VP2 Wireless
Operating System: Windows 7 32 bit
Location: England
Contact:

Re: Minor graph issue2

Post by The PIT »

Editing done.

One more thing is there anyway to make sure that the menu buttons when they wrap they are centralised. It looks a bit daft when you say you may get two on the left hand side while straight in middle would look much better.

See attached screen shot.
You do not have the required permissions to view the files attached to this post.
Based in Sunny Old Sheffield South Yorkshire England

www.sheffieldweather.co.uk
Post Reply