Set scatter chart marker size using coordinates
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 18.3k
- Fork
- 2k
- Merge medio
- 2g 12h
- PR unite (30g)
- 28
Descrizione
I'd like to set the marker size in scatter charts using coordinates.
My suggestion to implement this would be to add x0, x1, y0, and y1 attributes for scatter chart points, if these attributes are set the marker would scale to fit inside those coordinates. When setting the size using coordinates, the existing marker size attribute could be used as a minimum size.
The purpose of this is to be able to have points which represent a range of data instead of just a singular coordinate. A range of values across only one axis should also be supported.
The existing layout shapes aren't fit for our purpose because they can't be interacted with, and are quite slow for large datasets.
Here is an example of the type of data I would like to present (made using the existing shapes)
There have been related requests for absolute marker sizes already https://github.com/plotly/plotly.js/issues/3682
And similar requests in plotly.py https://github.com/plotly/plotly.py/issues/3535
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia esaminando l’implementazione dello scatter chart e le richieste correlate nelle issue 3682 e plotly.py 3535, quindi confronta l’esempio CodePen con l’approccio attuale basato sulle shapes. Done dovrebbe supportare gli intervalli x0, x1, y0 e y1, inclusi gli intervalli su un solo asse, mantenendo al contempo la dimensione del marker come minimo e preservando l’interazione per dataset di grandi dimensioni.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- data-visualization
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 28/100