Missing Ordinates on windrose graph [Belchertown]

138 views
Skip to first unread message

didier....@gmail.com

unread,
Jul 12, 2020, 11:20:21 AM7/12/20
to weewx-user
Hi

I have a small problem on windrose graph: some ordinates are not displayed!

Here is a part of my conf file:
            [[[[Ordinates]]]]
                
                # Ordinal directions. The last one is for no wind direction
                directions = N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSO, SO, OSO, O, ONO, NO, NNO, N/A
            
Here is a part of my graphs.conf file:
[[chart4]]
title = Rose des vents
[[[windRose]]]


Do you have an idea of this problem?

Many thanks
Didier

Jacques Terrettaz

unread,
Jul 12, 2020, 1:08:01 PM7/12/20
to weewx-user
Hi Didier,

I see that you are using V1.2b6.That may be the problem... The Belchertown site ( https://belchertownweather.com ) is running also V1.2b6, and I see missing ordinates on the wind rose.

All is OK with V 1.1 - see for example on my site  : http://meteo-sciez.fr/weewx/belchertown/ 

Jacques

Didier Decoodt

unread,
Jul 12, 2020, 1:13:48 PM7/12/20
to weewx...@googlegroups.com
Oh yes...
Pat, have you seen the problem?

Bonne soirée Jacques

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/d7951c08-a443-4ea1-af64-5282bf30ed84o%40googlegroups.com.

Pat

unread,
Jul 13, 2020, 9:19:39 AM7/13/20
to weewx-user
First time I'm noticing this. I'll take a look and see if I can figure out what changed
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.

Didier Decoodt

unread,
Jul 13, 2020, 9:24:36 AM7/13/20
to weewx...@googlegroups.com
Thank's Pat
When I "inspect" the web page, I see that the missing ordinates exist but have opacity="0"
image.png

May be it can help you...

Didier

To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/63eb29ad-15a5-4e25-a183-d6d3704e76f2o%40googlegroups.com.

Pat

unread,
Jul 13, 2020, 9:37:58 AM7/13/20
to weewx-user
Looks like an issue with the latest version of highcharts. I'll revert back to the last version where it's working. 

Didier Decoodt

unread,
Jul 13, 2020, 9:40:13 AM7/13/20
to weewx...@googlegroups.com
Pat
Just another (very small) remark, in windrose graphic the axis label (Frequency %) is displayed behind the graphic, also is not readable
May be it's a Highchart problem...
image.png

Pat

unread,
Jul 13, 2020, 10:43:12 AM7/13/20
to weewx-user
This is fixed in the latest commit in the development branch. 

As for the axis label, this is a highcharts thing. I'll research to see if I can fix it or not


On Monday, July 13, 2020 at 9:40:13 AM UTC-4, Didier Decoodt wrote:
Pat
Just another (very small) remark, in windrose graphic the axis label (Frequency %) is displayed behind the graphic, also is not readable
May be it's a Highchart problem...
image.png

Didier Decoodt

unread,
Jul 13, 2020, 10:44:47 AM7/13/20
to weewx...@googlegroups.com
Many thank's Pat

To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/589ccc7b-8516-4009-8cab-d75372feb0e4o%40googlegroups.com.

Pat

unread,
Jul 13, 2020, 11:06:54 AM7/13/20
to weewx-user
Just pushed another commit to upgrade highcharts and fix the opacity issue you pointed out. 

Still working on the item
Many thank's Pat

Pat

unread,
Jul 13, 2020, 12:31:08 PM7/13/20
to weewx-user
I don't see a way for the yAxis title to change. Looks like a highcharts limitation - unless someone knows of a working CSS fix? (z-index did not work)

Jacques Terrettaz

unread,
Jul 13, 2020, 12:48:59 PM7/13/20
to weewx...@googlegroups.com
Hi Pat,

Not 100% sure, but you may try to change the zIndex value of the yAxis labels  - see https://api.highcharts.com/highcharts/yAxis.labels.zIndex 

You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/U131AThJMvY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/baab6364-5b3e-4684-a1c6-d4925a66d413o%40googlegroups.com.

Pat

unread,
Jul 13, 2020, 12:51:52 PM7/13/20
to weewx-user
This affects the labels like N, NW, S, etc. not the text itself
Hi Pat,

To unsubscribe from this group and all its topics, send an email to weewx...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/baab6364-5b3e-4684-a1c6-d4925a66d413o%40googlegroups.com.

Didier Decoodt

unread,
Jul 13, 2020, 1:17:14 PM7/13/20
to weewx...@googlegroups.com
Is it possible to change (%) by nothing? I don't find this label in .conf file...
It's not very important to have percentage...

Didier

To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/7b02c287-8ed1-41a3-a870-a412979a882eo%40googlegroups.com.

Jacques Terrettaz

unread,
Jul 13, 2020, 1:17:49 PM7/13/20
to weewx...@googlegroups.com
After a test, and using V1.1, I just added to /js/belchertown.js.tmpl. the following line in the Windrose section (starting with if (observation_type == "windRose") {   )  :

options.yAxis[0].zIndex = 800;

Here is the result :


Without the zIndex :


To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/7b02c287-8ed1-41a3-a870-a412979a882eo%40googlegroups.com.

Didier Decoodt

unread,
Jul 13, 2020, 1:29:07 PM7/13/20
to weewx...@googlegroups.com
It's work
Also I change in the same file the next line by deleting (%) 
options.yAxis[0].title.text = "$obs.label.graphs_windrose_frequency";
If you want the symbole (%) you have just to add in the parameter graphs_windrose_frequency in .conf file

Didier


To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/AC176F8D-A732-454E-A93C-D2776E6274E4%40gmail.com.

Didier Decoodt

unread,
Jul 13, 2020, 1:37:37 PM7/13/20
to weewx...@googlegroups.com
Perfect!
image.png

Joachim Puttkammer

unread,
Jul 14, 2020, 6:39:02 AM7/14/20
to weewx-user

wind1.png



Bonjour Didier,

How did you suppress the values?




Am Montag, 13. Juli 2020 19:37:37 UTC+2 schrieb Didier Decoodt:
Perfect!
image.png

To unsubscribe from this group and all its topics, send an email to weewx...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.

Didier Decoodt

unread,
Jul 14, 2020, 6:43:02 AM7/14/20
to weewx...@googlegroups.com
Hi Joachim
The value has disappeared after deleting the label completely.
(may be it's normal...)

To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/0e263373-b7fb-454b-b605-59858db247e8o%40googlegroups.com.

Pat

unread,
Jul 14, 2020, 11:52:56 AM7/14/20
to weewx-user
Ah, I was using z-index, but they want zIndex. I'll update this in development because I think it's important to see the text
To unsubscribe from this group and all its topics, send an email to weewx...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/7b02c287-8ed1-41a3-a870-a412979a882eo%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages