Page 1 of 1

Wind rose

Posted: Fri Dec 03, 2021 8:49 am
by Jolumarali
Hello Davide

Voila, when I update my home page, the Block Wind rose changes appearance, do you have any idea about this problem.
I prefer the block the first Block.
Thank you

Image

Image

Re: Wind rose

Posted: Fri Dec 03, 2021 9:49 pm
by davidefa
Can't reproduce on my servers, so not sure what is causing it.
Only changed the X axis precedence ( line 163 gridZIndex: 3 ).
( setting in line 163 'gridZIndex: 4' should draw the axis above the graph )

Re: Wind rose

Posted: Sat Dec 04, 2021 8:15 am
by Jolumarali
Thanks Davide
But still the same.
The weird thing is that on the Mobile home page, that doesn't happen.
this also happens on other meteotemplate sites.
Good day and thank you for your research

José Luis

Re: Wind rose

Posted: Sat Dec 04, 2021 9:47 am
by davidefa
You could try setting ( in line 163 of file windRoseBlock.php ):
gridZIndex: 4,
This should draw the x axis above the graph ( not very nice ), but this could show if the problem is the color of the axis ( maybe it is drawn in the same color of the background, so it disappears )

Re: Wind rose

Posted: Sat Dec 04, 2021 11:11 am
by Jolumarali
same, no change
Block modified on my page

thanks again

José Luis

Re: Wind rose

Posted: Sun Dec 05, 2021 8:57 am
by meteoesine
Hello,
I also found this curious effect that happens in a completely random way:
In my specific case, if it does not display the X-axis, the legend writings are displayed with the white color that must be;
if it displays the X-axis the color of the legend's characters changes.
mysterious mysteries :D

Re: Wind rose

Posted: Sun Dec 05, 2021 5:21 pm
by Jolumarali
Good evening
in night mode, that happens for me too, on the other hand in day mode, no problem with the color of the characters.

Re: Wind rose

Posted: Sat Feb 19, 2022 11:37 am
by Meteofabro
I have installed the windrose block. Is it possible to change the color of the wind speed range texts?.
In automatic mode it gives me a color not visible with the template settings.

Re: Wind rose

Posted: Sun Feb 20, 2022 12:01 am
by davidefa
ver 1.3
Added an option to define legend text color

Re: Wind rose

Posted: Mon Feb 21, 2022 2:25 pm
by Meteofabro
Thank you :)

Re: Wind rose

Posted: Wed Apr 13, 2022 3:01 pm
by mchd17
Works well, nicely done!

Re: Wind rose

Posted: Sun Apr 17, 2022 4:06 pm
by mchd17
If i have interactiveGraph on homepage the grid lines of windRose disappear. Then if I remove interactiveGraph from homepage, grid lines of windRose reappear. Strange.

Anyway for the windRose legend text to use default color? Light and Dark theme default text color?

Re: Wind rose

Posted: Mon Apr 18, 2022 2:46 pm
by davidefa
Thanks for pointing in the right direction.
Don't know why, but there was an unwanted interaction with the interactiveGraph block.

ver 1.4
- corrected X grid not always showing
- corrected legend text not drawn in default color

Re: Wind rose

Posted: Mon Apr 18, 2022 10:01 pm
by mchd17
works good at the moment, thanks

Re: Rosa del viento

Posted: Fri Apr 22, 2022 8:30 am
by Saszalez
The legend's text is printed dark for me now, and it is not visible.

Re: Wind rose

Posted: Fri Apr 22, 2022 10:59 am
by mchd17
Same here, default color not working.