I have been running the default website alongside my custom site and everything works fine except the Historic Charts. The page loads and you momentarily see the chart selection buttons at the bottom of the page but then they disappear so you only get to see the Temperature Chart and you can't choose another chart. The Trends page works fine and looking at the code I can't see any reason why the Historic page behaves differently.
Appreciate if someone could give me a bit of guidance as to where the problem lies. My website is at http://flor.byethost24.com/weatherMX/index.htm
Regards,
Trevor
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
Chart selection disappears on Historic Charts
Moderator: mcrossley
- mcrossley
- Posts: 12756
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Chart selection disappears on Historic Charts
Hi Trevor, you have found a bug.
Please edit the file "js/historiccharts.js" on your web site.
Change line 24 from
to
And it should work as expected.
Please edit the file "js/historiccharts.js" on your web site.
Change line 24 from
Code: Select all
$('#btnTempSum').parent().remove();
Code: Select all
$('#btnTempSum').remove();
-
- Posts: 224
- Joined: Thu 17 Dec 2020 9:06 am
- Weather Station: Davis Vantage Vue
- Operating System: Raspbian GNU/Linux 10 (buster)
- Location: Tin Can Bay, Queensland, Australia
- Contact:
Re: Chart selection disappears on Historic Charts
Hi Mark,
Thanks. That worked perfectly. I had looked at several other sites to compare the js file and they were all using the standard file. I didn't realise they all had Solar Radiation, Degree Days and Temp Sum enabled whereas I have them disabled. I assume that's why mine wasn't working.
Regards,
Trevor
Thanks. That worked perfectly. I had looked at several other sites to compare the js file and they were all using the standard file. I didn't realise they all had Solar Radiation, Degree Days and Temp Sum enabled whereas I have them disabled. I assume that's why mine wasn't working.
Regards,
Trevor
- mcrossley
- Posts: 12756
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Chart selection disappears on Historic Charts
Yep, it is disabling the temperature sum that triggers it.
-
- Posts: 224
- Joined: Thu 17 Dec 2020 9:06 am
- Weather Station: Davis Vantage Vue
- Operating System: Raspbian GNU/Linux 10 (buster)
- Location: Tin Can Bay, Queensland, Australia
- Contact:
Re: Chart selection disappears on Historic Charts
Hi Mark,
I just installed the latest version b:3159 and everything works fine except you've missed correcting this bug. I've manually modified my historiccharts.js file again.
Regards,
Trevor
I just installed the latest version b:3159 and everything works fine except you've missed correcting this bug. I've manually modified my historiccharts.js file again.
Regards,
Trevor