plotly / plotly/angular-plotly.js

Autorange does not work with type bar with range slider?

Aperta
#253 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
TypeScript
Stelle
242
Fork
81
Merge medio
8h 48m
PR unite (30g)
18

Descrizione

There was an older issue posting related to this that hasn't had any activity and after checking the plotlyjs issue page, i am confused as I cannot tell if autorange is behaving as i am understanding it.
e.g.:
https://community.plotly.com/t/plotly-autorescaling-y-axis-range-when-range-slider-used/73970
https://codepen.io/niwsa/details/BXBjQQ
https://community.plotly.com/t/update-y-axis-domain-when-zoomed-on-x-axis/2073
https://github.com/plotly/plotly.R/issues/912
https://github.com/plotly/plotly.js/issues/1876

some replies had mentioned to just 'filter' the data using relayout event but i'm not sure how this can be done with those range values or how that will impact the range slider 'sub chart' image if you end up 'filtering' and removing the rest of the bars.

in my https://stackblitz.com/~/github.com/ysk3a/angular16plotly , if you slide the range to show the smaller bars, the y-axis does not 'auto range' for the bars to be visible.
image

i'm not sure if this is a bug, maybe caused by me missing property in my config, a wip feature in the plotly library that plotly is trying to add or autorange is working as intended.

i'm working with angular 16 and "angular-plotly.js": "^5.2.2", "plotly.js-dist-min": "^2.27.1",

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia riproducendo il comportamento nello StackBlitz Angular 16 collegato, usando angular-plotly.js 5.2.2 e plotly.js-dist-min 2.27.1. Confronta l’autorange dell’asse y quando il range slider viene spostato per mostrare barre più piccole e consulta le discussioni e gli issue di Plotly collegati. Il lavoro è completato quando viene identificato se si tratta di un problema di configurazione, di un problema di angular-plotly.js o di un comportamento previsto di Plotly, con una riproduzione minima chiara o una spiegazione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
angular, typescript
Ambito
data-visualization, frontend
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.