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
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
Highstock Temperature chart - after Beteljuice script mod
Moderator: mcrossley
-
- Posts: 127
- Joined: Fri 27 Sep 2013 2:11 pm
- Weather Station: Davis Vantage Pro2
- Operating System: Win 10
- Location: Dorset
- Contact:
Highstock Temperature chart - after Beteljuice script mod
Hi (again)
I applied the script that was suggested in my other question (viewtopic.php?f=28&t=17825) - which seemed to go well.
Except for an oddity with the 'indoor temp' values. These seem to be picking up another value.
Transposed values are as follows..
Apparent is showing values for Dew Point
Inside is showing values for Apparent
I followed the instructions in Beteljuice's script to the letter.
Anyone else have a similar problem.
Standard TrendsT file Modified TrendsT
Cheers
I applied the script that was suggested in my other question (viewtopic.php?f=28&t=17825) - which seemed to go well.
Except for an oddity with the 'indoor temp' values. These seem to be picking up another value.
Transposed values are as follows..
Apparent is showing values for Dew Point
Inside is showing values for Apparent
I followed the instructions in Beteljuice's script to the letter.
Anyone else have a similar problem.
Standard TrendsT file Modified TrendsT
Cheers
- 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: Highstock Temperature chart - after Beteljuice script mod
Please provide a link to your site and / or page.
There are times when we get close to psychic, but it is hard work
There are times when we get close to psychic, but it is hard work
......................Imagine, what you will KNOW tomorrow !
- 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: Highstock Temperature chart - after Beteljuice script mod
What is this ?
You can't use html comment in the middle of a js object !lose_plot = [
/* example
["What", "something else"],
*/
["Temperature", "Dew Point", "Wind Chill", "Heat Index"]
<!--["Temperature", "Apparent"]-->
];
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 127
- Joined: Fri 27 Sep 2013 2:11 pm
- Weather Station: Davis Vantage Pro2
- Operating System: Win 10
- Location: Dorset
- Contact:
Re: Highstock Temperature chart - after Beteljuice script mod
oh... I was having problems getting the names with spaces to work, so I experimented with a single named variable. REMing out the others - didn't realise that wouldnt work.
Then flipped it the other way once I had proved just one worked.
Sorry
Then flipped it the other way once I had proved just one worked.
Sorry
-
- Posts: 127
- Joined: Fri 27 Sep 2013 2:11 pm
- Weather Station: Davis Vantage Pro2
- Operating System: Win 10
- Location: Dorset
- Contact:
Re: Highstock Temperature chart - after Beteljuice script mod
Its me again.
I have removed the errant row(s) from the template file and have checked the resulting page displayed on't net.
Original problem still exists ...
I have removed the errant row(s) from the template file and have checked the resulting page displayed on't net.
Original problem still exists ...
- 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: Highstock Temperature chart - after Beteljuice script mod
Oh dear .....
The beteljuice script seems to be getting confused with the sequence of things
I don't know if I can fix it as a simple 'patch' file or not
... to be continued ...
The beteljuice script seems to be getting confused with the sequence of things
I don't know if I can fix it as a simple 'patch' file or not
... to be continued ...
......................Imagine, what you will KNOW tomorrow !
- 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: Highstock Temperature chart - after Beteljuice script mod
Ah ....
I think I've found the problem .... ajax is loading required (series) files in a dedicated order when I am removing parts of that order.
ATM I can't see how I can compensate without (small) mods to cumuluscharts.js, which defeats the purpose of a non-intrusive 'plug-in'
I'll have a think about it .....
I think I've found the problem .... ajax is loading required (series) files in a dedicated order when I am removing parts of that order.
ATM I can't see how I can compensate without (small) mods to cumuluscharts.js, which defeats the purpose of a non-intrusive 'plug-in'
I'll have a think about it .....
......................Imagine, what you will KNOW tomorrow !
- 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: Highstock Temperature chart - after Beteljuice script mod
By George I think I've beat the beggar ......
Please change:To:
... and tell me if it works or not !!!
Please change:
Code: Select all
// only used for initial graph load
let observer = new MutationObserver(mutationRecords => {
if(chart){
observer.disconnect();
rollout();
}
});
Code: Select all
// only used for initial graph load
let observer = new MutationObserver(mutationRecords => {
if(chart.loadingShown === false){
observer.disconnect();
rollout();
}
});
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 127
- Joined: Fri 27 Sep 2013 2:11 pm
- Weather Station: Davis Vantage Pro2
- Operating System: Win 10
- Location: Dorset
- Contact:
Re: Highstock Temperature chart - after Beteljuice script mod
Yay....!!!
Perfecto
Thank you for your efforts
G
Perfecto
Thank you for your efforts
G
- 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: Highstock Temperature chart - after Beteljuice script mod
IMPORTANT BUG FIX 27 Feb 2020
As above, serious bug discovered and fixed.
Anybody using this should change to the new code
posted viewtopic.php?f=14&t=17684&p=138172#p136911
As above, serious bug discovered and fixed.
Anybody using this should change to the new code
posted viewtopic.php?f=14&t=17684&p=138172#p136911
......................Imagine, what you will KNOW tomorrow !