fsktom / rusty-endsong-parser

Better, more performant version of https://github.com/fsktom/endsong-parser-python written in Rust
0 stars 0 forks source link

Compare multiple (>2) traces in one plot #54

Open fsktom opened 1 year ago

fsktom commented 1 year ago

Currently, you can either plot one trace or compare two traces (a bit related: #26 ). Would be nice if in the UI you could ask the user how many traces (with a hard cap) and then just loop through it. I wonder what the performance impact would be heh

fsktom commented 1 year ago

Maybe an interesting one would be a function where you can compare all songs from an album? Or all albums from an artists?

fsktom commented 1 year ago

^ see #33

fsktom commented 1 year ago

Maybe use legend groups for this

See #61 and https://github.com/igiagkiozis/plotly/pull/154#issuecomment-1669988679

fsktom commented 1 year ago

https://stackoverflow.com/a/69107589

Create a trait (that's implemented for Scatter/every Trace impl?) that changes the title or w/e So that I don't have to downcast the dyn Trace objects

fsktom commented 1 year ago

^not plausible

I think I'll just create an enum smh for Box<Scatter<String, usize>> and Box<Scatter<String, f64>>

fsktom commented 1 year ago

^implemented in c002ec70f7e9b0f3eec7c0eeb72ad01fbef284ae