Detail forecast graph stopped working **Solved**

I have noticed the the graph part of the forecast details page is not displaying

Have I missed an update
Harold

Yes, I noticed that yesterday evening, working on it.

It happens when the latest version of highcharts (11.0.0 date 2023-04-25 or 26) is loaded from their CDN.

I have found the culprits for multiple small problems (wrong front-size a.o.) and as you posted, one big problem no graph.

I am working on it but 9 out of 10 Leuven & Dashboard scripts which use HighCharts are more or less affected.

The “official” PWS_Dashboard release is 2012_lts and that has no HighCharts scripts.
https://pwsdashboard.be/pwsWD/index.php
The forecast/graph add-ons which you and a lot of others are using will be updates also.

All this will take some time to update the scripts, generate the zip’s and to publish.

Wim

Ok so you are aware of this so will wait for updates when sorted
Thanks
Harold

My graph is showing again as of right now but I had this problem also.

The cause of the problems: New version 11.0.0 of Highcharts.

Basic solutions:
1.
Change in 1 line from Highcharts.chart to Highcharts.Chart
Attached that solution.
2.
use the previous version of Highcharts
=> Skin broken after Highcharts update · Issue #881 · poblabs/weewx-belchertown · GitHub
3.
Wait a few days if Highcharts will release an update for this “problem”.

Be aware that the new 11.0.0 version has a lot of small changes which mess up the graph also.
So for both solution 1 and 3 I will need some time to make it look like before again.

Attached a new set of the graphical forecast scripts.
please check the first line of the scripts you want to replace.
The old scripts were dated 2021-10-18, the updated ones 2023-04-27

Maybe you made changes of your own, so backup every script you replace.

forecast_popups.zip (105.6 KB)

Wim

1 Like