ability to extend lines for thresholds and axes
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 18.3k
- Fork
- 2k
- Merge medio
- 2g 12h
- PR unite (30g)
- 28
Descrizione
In plotly, sometimes the lines don't go far enough, and it would be helpful to extend them.
Case 1: Multiple axes are not joined together. The x-axis line should connect all axes, not just the first 2. In the example image, I have drawn a red line where I think the x-axis should continue.
Case 2. I sometimes want to draw a target line on a chart; in this case, below the line would be "bad", resulting in a red bar, while above the line, would be good. To implement these, I have used a dedicated series, with a constant value. However, a target line should really a special case of a "grid" line, rather than a special case of a "data series", and it ought to extend right the way to the (appropriate) axis. I've drawn this in yellow on the chart below. (Even better, a target should be defined by a single value, rather than an array of repeated values).

Thanks very much :-)
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 riproducendo i due casi di grafici descritti nell’issue: collegare un asse x tra più assi ed estendere una linea orizzontale di riferimento o della griglia fino all’asse appropriato. Esamina i punti di ingresso del rendering di Plotly.js per assi, linee della griglia e serie per determinare se richiedono comportamenti separati. Il lavoro è completato quando entrambi i casi funzionano senza rappresentare un riferimento come una serie di dati ripetuta, con test che coprano le estensioni risultanti delle linee.
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
- 35/100