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
Highcharts issue
Moderator: mcrossley
-
- Posts: 512
- Joined: Mon 28 Nov 2011 2:13 am
- Weather Station: Davis VP2/ WLL with DFARS
- Operating System: RPi Raspbian (Buster)
- Location: Ferny Grove, Brisbane, Australia
- Contact:
Highcharts issue
It looks like there is a highchart issue with the navigator below the highcharts defaulting to the left side of the graph (older data) rather than the right that I has only started in the last day.
I am seeing this on some graphs on the admin interface and on many of my graphs on my site such as here: https://fernygroveweather.com/recent-graphs.php. On my site I am currently been using the latest version of highstock, but as a test if I revert to the previous version (v9.1.0) then I don't get this issue.
I am seeing this on some graphs on the admin interface and on many of my graphs on my site such as here: https://fernygroveweather.com/recent-graphs.php. On my site I am currently been using the latest version of highstock, but as a test if I revert to the previous version (v9.1.0) then I don't get this issue.
-
- Posts: 34
- Joined: Mon 03 Aug 2020 9:48 pm
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: 64 bit Raspberry pi Debian
Re: Highcharts issue
I have been using b3133 since 25th May but only noticed this issue yesterday. I just searched the forum and found Matt's post.
I see this same problem with both Recent and Historic "Charts" or "Trends" that have a zooming function on the local dashboard and also the website , but only for Pressure, Wind Speed, Wind Direction, and Rainfall, where the display defaults to showing the earliest 24hour period in the overall graph time window (in my case a 7-day window). All other zoomable graphs are OK and default to the most recent 24 hours (i.e. the right hand side of the window). Daily graphs (for Temp, Rain, and Sun Hours) are obviously fine.
I notice Matt's site shows the issue on slightly different graphs to me, but he has a different customisation. Although mine is also customised, the behaviour on the standard local dashboard and on the default web pages is identical for me (you need to specifically browse via the index.htm page menu at my site url to see this rather than via my customised version at index.html or just go straight to trends.htm).
I see this same problem with both Recent and Historic "Charts" or "Trends" that have a zooming function on the local dashboard and also the website , but only for Pressure, Wind Speed, Wind Direction, and Rainfall, where the display defaults to showing the earliest 24hour period in the overall graph time window (in my case a 7-day window). All other zoomable graphs are OK and default to the most recent 24 hours (i.e. the right hand side of the window). Daily graphs (for Temp, Rain, and Sun Hours) are obviously fine.
I notice Matt's site shows the issue on slightly different graphs to me, but he has a different customisation. Although mine is also customised, the behaviour on the standard local dashboard and on the default web pages is identical for me (you need to specifically browse via the index.htm page menu at my site url to see this rather than via my customised version at index.html or just go straight to trends.htm).
Colin
ashingtonmet.co.uk
ashingtonmet.co.uk
- HansR
- Posts: 5957
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Highcharts issue
@Matt: I checked out your cumuluschartsSQL.js (in ./js).
Interesting mods. Your jQuery is 3.5.1, CMX recently moved to 3.6 .
It appears to be an initialisation issue: when I select all and then go back to 48 hrs it is OK.
I noticed you create a clone of the common settings and then overwrite that clone with the same rangeSelector but in another following order.
Why use a common when overwriting with the same config?
Could that order be related to the initialisation issue?
Colin has no site to look at.
My own site has different charts/rangeSelectors but none of those use a common config and none of those have this issue and use jQuery 3.6 (and yes, use the latest highcharts libs from CDN).
Interesting mods. Your jQuery is 3.5.1, CMX recently moved to 3.6 .
It appears to be an initialisation issue: when I select all and then go back to 48 hrs it is OK.
I noticed you create a clone of the common settings and then overwrite that clone with the same rangeSelector but in another following order.
Why use a common when overwriting with the same config?
Could that order be related to the initialisation issue?
Colin has no site to look at.
My own site has different charts/rangeSelectors but none of those use a common config and none of those have this issue and use jQuery 3.6 (and yes, use the latest highcharts libs from CDN).
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
-
- Posts: 34
- Joined: Mon 03 Aug 2020 9:48 pm
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: 64 bit Raspberry pi Debian
Re: Highcharts issue
Hi Hans
To view my site just click the link in my Signature block at the bottom of my post when viewing this full thread. That will take you to my customised version, but replacing the filename with "trends.htm" will display the default website Recent graph page. Behaviour is the same on both, as per the dashboard (which is running all files extracted from the b3133 release, or strictly speaking the b3131 release, as the last 2 releases were replacements to CumulusMX.exe only.
I am using jQuery 3.6.
Regards
Colin
To view my site just click the link in my Signature block at the bottom of my post when viewing this full thread. That will take you to my customised version, but replacing the filename with "trends.htm" will display the default website Recent graph page. Behaviour is the same on both, as per the dashboard (which is running all files extracted from the b3133 release, or strictly speaking the b3131 release, as the last 2 releases were replacements to CumulusMX.exe only.
I am using jQuery 3.6.
Regards
Colin
Colin
ashingtonmet.co.uk
ashingtonmet.co.uk
- HansR
- Posts: 5957
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Highcharts issue
@Colin: OK, strangely missed that signature link
It does behave badly indeed... and definitely less mods than Matt...
It does behave badly indeed... and definitely less mods than Matt...
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
-
- Posts: 1808
- Joined: Sat 17 Dec 2011 11:55 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 11 x64
- Location: Dorset - UK
- Contact:
Re: Highcharts issue
I spotted this yesterday. Definitely an odd bug in the latest highcharts release.
Oddly, only one graph isn't affected by it - wind speed.
https://warehamwx.co.uk/graphs_recent.php
Oddly, only one graph isn't affected by it - wind speed.
https://warehamwx.co.uk/graphs_recent.php
-
- Posts: 512
- Joined: Mon 28 Nov 2011 2:13 am
- Weather Station: Davis VP2/ WLL with DFARS
- Operating System: RPi Raspbian (Buster)
- Location: Ferny Grove, Brisbane, Australia
- Contact:
Re: Highcharts issue
@Hans: I don't necessarily try to keep highcharts on my site at the same version as CMX but testing JQuery 3.6 and removing the common settings results in the same result. My configuration of common settings and a clone could be certainly improved; that is a result of numerous mods over time
-
- Posts: 1808
- Joined: Sat 17 Dec 2011 11:55 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 11 x64
- Location: Dorset - UK
- Contact:
Re: Highcharts issue
I dropped back to 9.1.0 and it's OK. highstock.js 9.1.1 either has a bug, or something was changed.
- HansR
- Posts: 5957
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Highcharts issue
@Mapantz: it definitely does also happen with Wind (See Colins site)
I'll take it to the HC forum and see what they say.
I'll take it to the HC forum and see what they say.
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
- 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 issue
Don't see any problems on any of the charts in my almost standard test bed All use cdn (v9.1.1)
for all HighCharts files.
Edit: A few hours later and I have the same inconsistencies
Must be something contagious
for all HighCharts files.
Edit: A few hours later and I have the same inconsistencies
Must be something contagious
......................Imagine, what you will KNOW tomorrow !
- HansR
- Posts: 5957
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Highcharts issue
@beteljuice: probably some CDN caching/propagation.
My point is more that the standard use of CMX functionality has the issues here, even when modified. I have not (so far) with the completely rewritten charts and modified defaults. But anyway, I pointed HC at the issue and see what answer I get
My point is more that the standard use of CMX functionality has the issues here, even when modified. I have not (so far) with the completely rewritten charts and modified defaults. But anyway, I pointed HC at the issue and see what answer I get
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
- 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: Highcharts issue
Hmm, who was it who encouraged me to move away from linking to specific releases of HighCharts when I said I'd had problems with HC updates breaking things
I guess pin everything back to 9.1.0 for the next release.
I guess pin everything back to 9.1.0 for the next release.
- HansR
- Posts: 5957
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Highcharts issue
@mcrossley:
Yes that was me. But I think the issue is in the standard website code somewhere. I made a fiddle with Colins rangeSelector and data for the windgraph and it does not do it. My own code does not do it. It is only with the standard site (modified or not). So yes sure, you can go back in version. But you run against it some other time. It is either in the code or in the defaults used, chance for a bug in HC are slim.
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
- 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: Highcharts issue
Easy to reproduce, set the series data - chart is wrong, redraw the whole chart, and it is still wrong.
https://jsfiddle.net/mcrossley/z5x43h1y/2/
https://jsfiddle.net/mcrossley/z5x43h1y/2/
- HansR
- Posts: 5957
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Highcharts issue
Aha... Indeed. Different techniques of adding the data.
Let's see what HC says.
Let's see what HC says.
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3