Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.11.4 (build 3133) - 25 May 2021 (please see announcement regarding releases since 3.5.0)
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

Suggestion for Changes to Daily Temperature Charts

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

User avatar
HansR
Posts: 2159
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
Location: Wagenborgen (NL)
Contact:

Re: Suggestion for Changes to Daily Temperature Charts

Post by HansR »

I implemented the columnrange as well in the ChartsCompiler and it should work automatically for Temperature, Dewpoint, FeelsLike (and other derivatives), Barometer and Humidity (all variables which have a max/min spec in the 'all'-data files). I have two examples on my site (menu=>Compiler Demos=>Column Range).
Hans

https://meteo-wagenborgen.nl
Cumulus build 3132 ● Davis Vantage Pro 2+ ● RPi 3B+ ● Raspbian 5.10.17-v7+ ● Mono 5.18.0.240

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

Re: Suggestion for Changes to Daily Temperature Charts

Post by The PIT »

I tried the modified graph and just got a blank screen. Is this because I'm using version 9.2 of the highcharts graph to fix the full screen bug?
Based in Sunny Old Sheffield South Yorkshire England

www.sheffieldweather.co.uk

User avatar
beteljuice
Posts: 3212
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Suggestion for Changes to Daily Temperature Charts

Post by beteljuice »

@The PIT

Edit: For Information Only Changes to readme files list in accord with build 3131


... are you referring to the beteljuice mod ?

Your current page says you are using v9.1

I haven't tried v9.1 but I would have thought that if you change ALL of the /8.2/ to /9.1/ in the file list I give in the readme all should be good.

You did do all the list, and not forget highcharts-more .js ?
Last edited by beteljuice on Sun 16 May 2021 10:11 pm, edited 1 time in total.
Image
......................Imagine, what you will KNOW tomorrow !

User avatar
beteljuice
Posts: 3212
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Suggestion for Changes to Daily Temperature Charts

Post by beteljuice »

@The PIT

Knock, knock ...

I don't see any changes to your page yet.

beteljuice HC v9.1 check

The only differences are the ones I outlined above.
i.e. If you cut'n'paste the required files list and change the /8.2/ references to /9.1/
NB: new_cumuluscharts.js should NOT be renamed, it is called that so there is no conflict with any distribution script.
Last edited by beteljuice on Sun 16 May 2021 3:20 am, edited 1 time in total.
Image
......................Imagine, what you will KNOW tomorrow !

buffaloseven
Posts: 23
Joined: Thu 06 Oct 2016 7:40 am
Weather Station: Davis Vantage Pro
Operating System: macOS 11.1
Location: Winnipeg, Manitoba

Re: Suggestion for Changes to Daily Temperature Charts

Post by buffaloseven »

Wow, you all work quickly! Thanks @beteljuice for whipping up the code so I didn't have to. It's nothing too complex, but I'm glad to see the idea was worth sharing! I do personally prefer it to line graphs for these range value parameters.

User avatar
beteljuice
Posts: 3212
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Suggestion for Changes to Daily Temperature Charts

Post by beteljuice »

@buffalo ...
'Tis just a beteljuice plaything for those interested ATM.

Any future features or coding for distribution are up to others. there is always more than one way etc. etc.

Thank you for the graphic example that stirred up some action.
Image
......................Imagine, what you will KNOW tomorrow !

User avatar
beteljuice
Posts: 3212
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Suggestion for Changes to Daily Temperature Charts

Post by beteljuice »

beteljuice mod ..

Edit: For Information Only Changes to readme files list in accord with build 3131
Image
......................Imagine, what you will KNOW tomorrow !

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

Re: Suggestion for Changes to Daily Temperature Charts

Post by mcrossley »

One minor thing beteljuice ;) , if the average data is not available can you hide the series, at the moment it is on the chart but displays nothing which is a bit confusing.

User avatar
beteljuice
Posts: 3212
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Suggestion for Changes to Daily Temperature Charts

Post by beteljuice »

By hide you mean remove or not create ;)

I've only had a very vague look so far - the problem is my rigid series order so that I can work the plots switching.
By far the easiest solution would be to add avg last, but I don't like legend layout like that :P - but I may relent.

I'll muse the possibilities later - it is a slightly strange graph to the rest in that it has a minimum requirement of two data sets.
Why not include avgtemp and make it three ?

Edit: The more thought I give it, the 'easy' way is very easy compared to alternatives
ie. legend . Temp Range > Max Temp > Min Temp > Avg Temp

It would be nice to have a more portable code snippet - I'll keep musing for a bit ..
Image
......................Imagine, what you will KNOW tomorrow !

User avatar
beteljuice
Posts: 3212
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Suggestion for Changes to Daily Temperature Charts

Post by beteljuice »

@Mark

OK - I've gone the easy route, avgtemp at the end and series not created unless data present.

new_cumuluscharts.js code link - and for anyone else who wants it

Get zip and readme ...

On your data you won't see Avg Temp legend - you'll have take my word that I've tested with a different data source that worked ;)
Last edited by beteljuice on Wed 19 May 2021 11:36 am, edited 1 time in total.
Image
......................Imagine, what you will KNOW tomorrow !

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

Re: Suggestion for Changes to Daily Temperature Charts

Post by mcrossley »

Looking good :thumbsup:

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

Re: Suggestion for Changes to Daily Temperature Charts

Post by The PIT »

Sorry for the slow response busy doing other things.
Got the graph working I missed out the extra highcharts line.
Based in Sunny Old Sheffield South Yorkshire England

www.sheffieldweather.co.uk

Post Reply