plotly / plotly/plotly.js

Wind rose malfunctioning

Ouverte
#5,793 1 commentaire 0 réactions 1 personne assignée Voir sur GitHub

@LiamConnors y travaille déjà.

Depuis le 9/8/2024.

bug P3
Langage dominant
JavaScript
Étoiles
18.3k
Forks
2k
Merge moyen
2 j 12 h
PR mergées (30 j)
28

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.