Feature request: Duration ticks

Aperta
#181 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript

Direzione di ricerca

The request concerns getting nicely spaced ticks when plotting durations across different time units; it does not name a source file, test, or entry point. Read the linked Observable examples and Stack Overflow question to understand the behavior being requested, then locate the relevant scale and tick APIs in d3-array. Done means duration values can produce useful tick intervals when their scale changes, with tests covering the behavior.

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

Descrizione

When plotting duration values getting nice ticks is difficult. If the duration is in milliseconds but scale to (say) hours the nice tick values turn weird. There are workarounds, but they are non trivial, especially if you don’t know which time units the duration values scale to.

Being able to somehow specify scaling in duration values would make it a lot easier to plot duration values. Preferably it should be as easy as plotting time values.

Lingua principale
JavaScript
Stelle
465
Fork
193
Merge medio
5h 46m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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.

Altre issue di d3/d3-array

Tutte le issue di d3/d3-array

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.