plotly / plotly/plotly.js

Wind rose malfunctioning

Abierto
#5,793 1 comentario 0 reacciones 1 asignado Ver en GitHub

@LiamConnors ya está trabajando en esto.

Desde el 9/8/2024.

bug P3
Lenguaje dominante
JavaScript
Estrellas
18.3k
Forks
2k
Merge medio
2 d 12 h
PR fusionados (30 d)
28

Descripción

Not that plotly has a bug. Is that the example ( javascript section) that you have set as a wind rose does not work well. That is to say, it is not a wind rose. Below I put a comparison of how a wind rose should work, and how the one you have put in the documentation / example works.
plotly error
In the following video I show you the difference between Plotly wind rose ( on the left) and a wind rose that works well ( the one on the right). Please note that the data are independent of each other and are represented on top of each other. While in the compass rose of plotly, they are totaled. Also, in a normal rose, when you turn off a lower data span, the scale changes. However, when doing it in plotly, the scale does not change because the data is wrong and the functioning is wrong.

https://user-images.githubusercontent.com/55595063/124102309-86e80400-da60-11eb-8bd2-d76998bc55ea.mp4

There you have the live examples to try it yourself:

example 1 (plotly): https://plotly.com/javascript/wind-rose-charts/
example 2 (other chart): https://jscharting.com/examples/chart-types/radar-polar/wind-rose/
example 3 ( other chart): https://www.makeapie.com/editor.html?c=xa-f-aLlNA
I do not doubt that this chart is very useful for some people, but of course it is not a wind rose and therefore it is totally unusable for that purpose.
Can someone tell me if a wind rose can be made that works correctly using plotly?
If yes, could someone change the example in the documentation to see how?
I'm totally new to using plotly and have no idea how to make a wind rose.

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.