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

HighCharts - lose the plot gracefully

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

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

Re: HighCharts - lose the plot gracefully

Post by beteljuice »

A link to your page would be beneficial, but I suspect you didn't quite edit correctly so that the code crashes and causes the behaviour you describe.

Please double check what changes you made.

... but I have a feeling that MX now has these sort of options 'built-in' ? (but not language ?)
Perhaps someone could clarify ....
Image
......................Imagine, what you will KNOW tomorrow !
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: HighCharts - lose the plot gracefully

Post by mcrossley »

Within Cumulus you can now select which series are added to the JSON data files...
graph-options.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: HighCharts - lose the plot gracefully

Post by beteljuice »

Thank you Mark :)

Although original comments still apply ;)
Image
......................Imagine, what you will KNOW tomorrow !
iandrews
Posts: 139
Joined: Sun 03 Jan 2010 10:57 am
Weather Station: Davis Pro2
Operating System: Windows 2012R2
Location: London

Re: HighCharts - lose the plot gracefully

Post by iandrews »

Thanks, I have removed all changes for the moment, but will re-do later, and post web link.

Re the options now within CumulusMX, I saw those, but from what I could tell they removed the series completely, I wanted a few series to still be there, but not visible by default, giving me the option to make visible when required.
iandrews
Posts: 139
Joined: Sun 03 Jan 2010 10:57 am
Weather Station: Davis Pro2
Operating System: Windows 2012R2
Location: London

Re: HighCharts - lose the plot gracefully

Post by iandrews »

Made sure I started with a clean graphfixPro.js file from the downloaded zip file, all I did was chanegd:

Code: Select all

display_plot = [
/* example
					["Temperature", ["Temperature", false], ["Wind Chill", true]]
*/				

					
				];
to

Code: Select all

display_plot = [
					["Temperature", ["Inside", false]]				

					
				];
I added <script src="graphfixPro.js"></script> below the <script src="cumuluscharts.js"></script> in the trendsT.htm file, and changed:

Code: Select all

<input name="btnTemp" class="button" tabindex="1" type="button" value="Temperature" onclick="changeGraph('temp');">
to

Code: Select all

<input name="btnTemp" class="button" tabindex="1" type="button" value="Temperature" onclick="changeGraph('temp'); rollout();">
The Wind Dir. chart is still not loading, and the Inside temp is only made not visible if the Temperature button is presses, rather then first page load.

Web addrerss:

http://www.wanders.myzen.co.uk/weather/trends.htm
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: HighCharts - lose the plot gracefully

Post by beteljuice »

How odd - it seems the last zip file was not the latest version and doesn't work in English :lol:

New version 1.1 on first post - please let me know if it works OK !!
Image
......................Imagine, what you will KNOW tomorrow !
iandrews
Posts: 139
Joined: Sun 03 Jan 2010 10:57 am
Weather Station: Davis Pro2
Operating System: Windows 2012R2
Location: London

Re: HighCharts - lose the plot gracefully

Post by iandrews »

oh dear :o

New version download, and all seems ok now :D
Post Reply