Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Recent charts not showing all options

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

Post Reply
stuartp
Posts: 34
Joined: Tue 03 Mar 2009 2:56 pm
Weather Station: WH-1081PC
Operating System: Raspbian bullseye
Location: Hampshire, UK
Contact:

Recent charts not showing all options

Post by stuartp »

The “Recent Charts” option is only showing me temperature. I can not now see the menu bar at the bottom of the the chart view any more so can’t choose the other options ie Windspeed, Pressure, Rainfall etc. The Historic Chart option works perfectly.

I have had this on my dev Raspberry Pi for a while but my main system was working ok. I’ve now upgraded both to Cumulus MX 3.23.1 b3221 and the main system which was on an earlier build now exhibits the same problem too.

Any suggestions?

Stuart
SamiS
Posts: 511
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Recent charts not showing all options

Post by SamiS »

When any webpage (either console or website) malfunctions after upgrade, first thing to check is that could it be a browser caching issue. Either test it with a private browsing window, or just clear the cache.
stuartp
Posts: 34
Joined: Tue 03 Mar 2009 2:56 pm
Weather Station: WH-1081PC
Operating System: Raspbian bullseye
Location: Hampshire, UK
Contact:

Re: Recent charts not showing all options

Post by stuartp »

SamiS wrote: Thu 12 Jan 2023 3:04 pm When any webpage (either console or website) malfunctions after upgrade, first thing to check is that could it be a browser caching issue. Either test it with a private browsing window, or just clear the cache.
I have tried Safari and Firefox and cleared cookies and cache. It’s just the CMX console which has the fault. Data uploaded to my web site is displaying perfectly.

Stuart
stuartp
Posts: 34
Joined: Tue 03 Mar 2009 2:56 pm
Weather Station: WH-1081PC
Operating System: Raspbian bullseye
Location: Hampshire, UK
Contact:

Re: Recent charts not showing all options

Post by stuartp »

I’ve just noticed that on my iMac, Recent Charts on the CMX console has a drop down menu at the top, whereas Historic Charts has the “old style” menus along the bottom. If I shrink the screen sideways so that the top menu rolls on to a second line, the chart selection drop down for Recent Charts disappears !

I’ve been testing on an iPad and the top menu line is always wrapped due to the format of the iPad screen ( even in landscape mode), hence my inability to select any other options rather than temperature.

A bug ?

Stuart
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Recent charts not showing all options

Post by water01 »

The bar to select the chart shown is now a drop down above the chart.
David
Image
stuartp
Posts: 34
Joined: Tue 03 Mar 2009 2:56 pm
Weather Station: WH-1081PC
Operating System: Raspbian bullseye
Location: Hampshire, UK
Contact:

Re: Recent charts not showing all options

Post by stuartp »

water01 wrote: Thu 12 Jan 2023 3:32 pm The bar to select the chart shown is now a drop down above the chart.
Yes - that’s the issue! As I stated above :

“ I’ve just noticed that on my iMac, Recent Charts on the CMX console has a drop down menu at the top, whereas Historic Charts has the “old style” menus along the bottom. If I shrink the screen sideways so that the top menu rolls on to a second line, the chart selection drop down for Recent Charts disappears !

I’ve been testing on an iPad and the top menu line is always wrapped due to the format of the iPad screen ( even in landscape mode), hence my inability to select any other options rather than temperature.

A bug ?”

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

Re: Recent charts not showing all options

Post by mcrossley »

Sounds like an issue with the HTML/CSS. I'll take a look...
stuartp
Posts: 34
Joined: Tue 03 Mar 2009 2:56 pm
Weather Station: WH-1081PC
Operating System: Raspbian bullseye
Location: Hampshire, UK
Contact:

Re: Recent charts not showing all options

Post by stuartp »

mcrossley wrote: Thu 12 Jan 2023 4:45 pm
Sounds like an issue with the HTML/CSS. I'll take a look...
Strangely enough it all displays fine on my iPhone. On my iPad even if I select “Request Mobile Website” it fails. But I have just found that if I increase the font size of that page to 125% the drop down menu appears. So that’s my temporary fix ;)

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

Re: Recent charts not showing all options

Post by mcrossley »

Ugh, the navigation menu is position "fixed" so is out of the DOM flow and if it wraps overwrites the content. If anyone fancies taking a bash at fixing this feel free!

To keep the fixed nav bar I think it will need some JS to recalculate its height on a window resize and adjust the content top margin appropriately. or something like that!
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Recent charts not showing all options

Post by mcrossley »

Here is a patched menu.js file that adjusts the body to unhide it from a wrapped menu. Please give it a try.

Put it in the /interface/js folder

The other option is to collapse to the hamburger menu before the menu wraps, but that involves overriding some of the bootstrap standard CSS, and not other bits - and they share the same class :(
You do not have the required permissions to view the files attached to this post.
stuartp
Posts: 34
Joined: Tue 03 Mar 2009 2:56 pm
Weather Station: WH-1081PC
Operating System: Raspbian bullseye
Location: Hampshire, UK
Contact:

Re: Recent charts not showing all options

Post by stuartp »

mcrossley wrote: Fri 13 Jan 2023 11:46 am Here is a patched menu.js file that adjusts the body to unhide it from a wrapped menu. Please give it a try.

Put it in the /interface/js folder

The other option is to collapse to the hamburger menu before the menu wraps, but that involves overriding some of the bootstrap standard CSS, and not other bits - and they share the same class :(
Thanks Mark. Works on both my systems :)

Stuart
Post Reply