Bar length in milliseconds
See original GitHub issueRight now we can specify bar lengths in milliseconds on date axes but this is interpreted in a browser-timezone-dependent manner, which seems like a clear bug that makes this feature unusable. See https://codepen.io/nicolaskruchten/pen/qBOKdQG …
Basically, the following figure JSONs (which differ only in x
) should probably have the same output, regardless of timezone of browser:
{
"data":[{"base":["2020-02-06 00:00"],"orientation":"h","type":"bar",
"x":[86400000],"y":[1]}],
"layout":{"xaxis":{"type":"date"}
}
}
{
"data":[{"base":["2020-02-06 00:00"],"orientation":"h","type":"bar",
"x":["1970-01-02 00:00"],"y":[1]}],
"layout":{"xaxis":{"type":"date"}}
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:18 (18 by maintainers)
Top Results From Across the Web
How to figure out the length (time in ms) of a bar from bpm and ...
This means that 120 beats = 60 secs · This means 1 beat is 0.5 secs · This means 1 bar is 4...
Read more >Tempo BPM to MS Calculator | Tuneform
BPM/Tempo 1/4 1/8 1/8T 1/16 1/32 1/64 1/128
60 BPM 1000 ms 500 ms 333 ms 250 ms 125 ms 63 ms 31 ms
61...
Read more >Song length calculator - toolstud.io
calculate song length from tempo and number of bars. ... Beats-per-minute: 108 BPM; Beats-per-second: 1.8 Hz; Length of 1 beat: 0.5556 second =...
Read more >Time and length | DryWetMIDI
Bars, beats and fraction ... BarBeatFractionTimeSpan represents a time span as a number of bars and fractional beats (for example, 0.5 beats). Following...
Read more >How to View Milliseconds in the Display bar in Logic Pro X
If I have helped you, please consider hitting the Subscribe button or buying me a coffee. https://www.buymeacoffee.com/virtualverghini.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Done.
Assuming you meant
yaxis.type
then yes, that sounds right. Basically, if there’s abase
onbar
traces, use that for autotype rather thany
(in default orientation 😉).As a tightly-scoped issue this is unambiguously a bug. Of course it will need careful testing but I think it’s fine in a patch.