centowen / salsa

MIT License
2 stars 1 forks source link

Interactive plotting #54

Open varenius opened 1 year ago

varenius commented 1 year ago

It would be nice and useful to be able to hover the pointer in the plot and extract x,y coordinates on the fly. It would also be nice to be able to zoom.

varenius commented 1 year ago

https://crates.io/crates/plotly could be an option?

varenius commented 1 year ago

maybe https://github.com/butzist/yew-plotly is simpler?

freidrichen commented 1 year ago

https://crates.io/crates/plotly could be an option?

Looking at the documentation and examples, this looks great!

maybe https://github.com/butzist/yew-plotly is simpler?

This crate only provides a yew component which wraps the other plotly crate. About 100 LOC in total. Might still be worth using, but just wanted to highlight this.