Page 1 of 1
Upgraded to MX - trends not working
Posted: Fri 24 Apr 2020 4:28 pm
by AndyT
Hi all,
I have recently upgraded to MX and all seems well but the old trends htm isn't updating. When I go to the images, it says they are up to date (last modified) but the image doesn't actually change. I hope that makes sense. Can anyone shed any light? The graphs.html is working fine in the interface. Thanks in advance.
Re: Upgraded to MX - trends not working
Posted: Fri 24 Apr 2020 5:23 pm
by sfws
AndyT wrote: ↑Fri 24 Apr 2020 4:28 pm
Hi all,
I have recently upgraded to MX and all seems well but the old trends htm isn't updating. When I go to the images, it says they are up to date (last modified) but the image doesn't actually change. I hope that makes sense. Can anyone shed any light? The graphs.html is working fine in the interface. Thanks in advance.
You CANNOT use the old Cumulus 1 templates with MX, that is why the MX package you downloaded includes new templates.
Cumulus 1 generates images, the old template changes between the latest uploaded images.
Cumulus MX uploads json files containing an array pairs of data (time and value at that time), MS trends template can read those files and draw graphs (as in interface).
AS I KEEP SAYING TO PEOPLE, please read the instructions
https://cumuluswiki.org/a/Cumulus_MX#Ch ... us_1_to_MX.
Re: Upgraded to MX - trends not working
Posted: Fri 24 Apr 2020 5:28 pm
by freddie
Hi AndyT,
On Cumulus 1 the trends images were generated by Cumulus and uploaded to the web server. With Cumulus MX the data for the images is uploaded to the web server, and the images are actually constructed from the data within your browser using Javascript. So it works in a completely different way, and - if you are using the standard Cumulus website templates you will need to upgrade your charts page to the one from the MX distribution.
All of this is covered in the forum in the release notes
topic. I believe it is also covered in the
wiki.
Re: Upgraded to MX - trends not working
Posted: Sat 25 Apr 2020 10:13 am
by AndyT
Thanks guys, I didn't realise... I just copied the original files over.