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 4018) - 28 March 2024

Legacy Cumulus 1 release v1.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

CMX 3.9.5 b3100 Rainfall chart not displaying

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
AndyKF650
Posts: 704
Joined: Thu 20 Aug 2020 8:35 am
Weather Station: Davis VP2 Plus
Operating System: RPiv4 64bit Linux 12 Bookworm
Location: Jersey Channel Islands
Contact:

CMX 3.9.5 b3100 Rainfall chart not displaying

Post by AndyKF650 »

Has anyone else noticed that the daily rain is not displaying correctly on the recent Rainfall Chart. Looking at the charts.js file it seems that an extra line fillOpacity : 0.3 has been added to the file.

name: 'Daily rain',
type: 'area',
yAxis: 1,
tooltip: {valueSuffix: ' ' + config.rain.units},
fillOpacity: 0.3

If the line is removed the graph works as previously. I also tried increasing the value to 1.0 but the best result was 1.0 or plain removal of the line.
Fracas
Posts: 3
Joined: Sun 11 Nov 2018 8:25 pm
Weather Station: PCE fws20
Operating System: Raspberry

Re: CMX 3.9.5 b3100 Rainfall chart not displaying

Post by Fracas »

I've the same problem (present also in v3.9.4 - 3099) but for Temperature, wind speed, and solar ...
User avatar
PaulMy
Posts: 3775
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: CMX 3.9.5 b3100 Rainfall chart not displaying

Post by PaulMy »

v.3.9.5-b3100
local Dashboard -
All Recent charts are showing fine, including daily rain.
However in Historical none of the Temperature charts are showing, but the others are all fine.

Webpage -
All trends and historic are showing fine.

Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
User avatar
PaulMy
Posts: 3775
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: CMX 3.9.5 b3100 Rainfall chart not displaying

Post by PaulMy »

Update!
Temperature missing has been fixed by editing chartshistoric.js as per viewtopic.php?p=149767#p149767
Thanks Mark.

Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
User avatar
mcrossley
Posts: 12692
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CMX 3.9.5 b3100 Rainfall chart not displaying

Post by mcrossley »

Which browser are you using to view these graphs that does not display correctly?
AndyKF650
Posts: 704
Joined: Thu 20 Aug 2020 8:35 am
Weather Station: Davis VP2 Plus
Operating System: RPiv4 64bit Linux 12 Bookworm
Location: Jersey Channel Islands
Contact:

Re: CMX 3.9.5 b3100 Rainfall chart not displaying

Post by AndyKF650 »

I am using Opera and have been since I started on CMX in August 2020, I have not tried any others but could do see if that helps

I just checked out the Solar chart on Google Chrome and that is just a feint as that seen on Opera. Also checked the rain chart and the same applies. Not a browser problem!
Fracas
Posts: 3
Joined: Sun 11 Nov 2018 8:25 pm
Weather Station: PCE fws20
Operating System: Raspberry

Re: CMX 3.9.5 b3100 Rainfall chart not displaying

Post by Fracas »

The problem is on Recent charts and seems related to the amount of data.
I deleted all data and restarted cumulus; alla graphs were ok for about 1 h.
After that ... Temperature, wind speed and solar graphs are not loaded (The window reamain stopped on "Loading...".
Pressure and wind direction graphs are ok.
Tested using Firefox, Opera, Chrome and Edge.
Any idea?
Thx
User avatar
mcrossley
Posts: 12692
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CMX 3.9.5 b3100 Rainfall chart not displaying

Post by mcrossley »

I also tried increasing the value to 1.0 but the best result was 1.0 or plain removal of the line.
If you remove the fillOpactity line it will default to 0.75, so 25% fainter than setting it to 1.0 ??

This is beginning to feel like it could be a graphics card driver issue as it works fine for most people - or at least only one, maybe two people are reporting it.
The window reamain stopped on "Loading...".
@Fracas - This sounds like a separate issue. Your data is failing to load.
What period to you have defined for the Recent charts?
AndyKF650
Posts: 704
Joined: Thu 20 Aug 2020 8:35 am
Weather Station: Davis VP2 Plus
Operating System: RPiv4 64bit Linux 12 Bookworm
Location: Jersey Channel Islands
Contact:

Re: CMX 3.9.5 b3100 Rainfall chart not displaying

Post by AndyKF650 »

Hi Mark

Thanks for the info and pointers. I look at the CMX charts on my pc with a newish NVIDA Ge Force GTX 1060 graphics card, I uninstalled and reinstalled the driver before I started today's retesting. No change to the display problems seen after reinstallation.

I note your point about the default fillOpacity being 0.75 for the recent rain chart but with the CMX program default set at 0.3 no green shading is present. An increase to 0.75 still produces a feint shading and 1.0 produces an acceptable shading.

For the avoidance of doubt this is all on line 647 on /interface/charts.js

I have also been looking at the solar chart issues and can not see where the fillOpacity line is in the Charts.js file. I have set my recent charts default display to 216 hours ie 9 days. When the solar chart is viewed at 9 days the display is viewable but feint, if you restrict the time frame to 4 days the full colour is seen. In version b3099 all days were clearly visible albeit in blue and green but when you changed the display in version b3100 the golden colours are very muted in the longer range. I have attached the screen shots for information.

I have just looked back at the rain chart and shortened the time frame and get full colour when I used 0.75 ie feint at full range.

These problems are both the same so presumably would have a common solution and perhaps not in the line I have been trying to amend.


I hope this rambling helps
You do not have the required permissions to view the files attached to this post.
Fracas
Posts: 3
Joined: Sun 11 Nov 2018 8:25 pm
Weather Station: PCE fws20
Operating System: Raspberry

Re: CMX 3.9.5 b3100 Rainfall chart not displaying

Post by Fracas »

@mcrossley
Thanks! You are right.
I decreased the GraphHours to 4 and now the last 4 hours graphs are displayed correctly.
For sure the problem is related to the excessive reading rate that I'm actually using for test purpose (1 read every 30 seconds).
I'll reduce the data rate to more reasonable value as soon as my tests are completed.
Tanks again.
User avatar
mcrossley
Posts: 12692
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CMX 3.9.5 b3100 Rainfall chart not displaying

Post by mcrossley »

This seems to be a problem with the HighCharts boost function.

So for the solar graph, try adding this at line 845 in charts.js...

Code: Select all

        plotOptions: {
            series: {
                dataGrouping: {
to

Code: Select all

        plotOptions: {
            series: {
                boostThreshold: 0,
                dataGrouping: {
AndyKF650
Posts: 704
Joined: Thu 20 Aug 2020 8:35 am
Weather Station: Davis VP2 Plus
Operating System: RPiv4 64bit Linux 12 Bookworm
Location: Jersey Channel Islands
Contact:

Re: CMX 3.9.5 b3100 Rainfall chart not displaying

Post by AndyKF650 »

Hi Mark

You are a star!!! :D , this works just fine now as per the attached screen shot

Also did the same fix on the rain chart at line 606 and that gives a more usable plot
You do not have the required permissions to view the files attached to this post.
User avatar
mcrossley
Posts: 12692
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CMX 3.9.5 b3100 Rainfall chart not displaying

Post by mcrossley »

Yep, I did the same on my test system. The boost function kicks in above 5,000 data points by default and plots the data on a Canvas rather than using SVG. I have raised a query on the HighCharts forum as to why this is happening, it doesn't look right to me.
Post Reply