Page 1 of 1

Cumulusutils charts in standalone website

Posted: Wed 26 Feb 2025 9:22 pm
by gavinwp
Hi, I seem to be going round in circles and am struggling to get cumulusutils charts displaying on my website. It used to work, then in one weekend I upgraded my pi, upgraded CMX to most recent version and upgraded to most recent version of cumulusutils and so I'm struggling to work out where the problem lies and what I need to do to fix it.

The charts preloaded via the 'website' generator work (see https://crundaleweather.co.uk/index.htm ... =DailyRain. However, the same graph on my custom site here https://crundaleweather.co.uk/utilsraingraphs.php does not work. Where am I going wrong? The data is being uploaded correctly, I'm just struggling to render the data on my website. Any help will be appreciated.

Re: Cumulusutils charts in standalone website

Posted: Wed 26 Feb 2025 9:48 pm
by HansR
Ok, I'll be back behind my computer on sunday.
I'll look at it then, currently only the phone available.

Re: Cumulusutils charts in standalone website

Posted: Sat 01 Mar 2025 8:58 pm
by HansR
I'll look again tomorrow but there are some weird tokens in the left upper corner of the generated file. Do you have your generated text files in UTF8?

Normally what is required are the Highcharts libraries. Do you include those yourself in your customsite? If not, please configure (section general):

Code: Select all

GeneratejQueryInclude=true
DoLibraryIncludes=true
Use the jQuery parameter only if it is not already included. I assume your template already does have that. But maybe something has changed in the template or otherwise (PHP, javascript or whatever).

Re: Cumulusutils charts in standalone website

Posted: Tue 04 Mar 2025 6:23 am
by HansR
Hi, please communicate the status. Otherwise it is difficult to support!
Also please fill in the URL of your site (or the specifically URL of a CUtils page) in the map. It makes support easier.