willdale / SwiftUICharts

A charts / plotting library for SwiftUI. Works on macOS, iOS, watchOS, and tvOS and has accessibility features built in.
MIT License
843 stars 105 forks source link

Selection & Highlight Tools #184

Open BeauNouvelle opened 2 years ago

BeauNouvelle commented 2 years ago

The ability to select values would be a great addition to this library.

So far we have touch overlays, but I was thinking touch/click and drag to select multiple values would be even better!

What's the use case for this?

Let's say I have a bunch of 6-axis motion capture data that I want to clean up: Screen Shot 2022-03-31 at 12 58 09 pm

The ability to select parts of the graph, get those values then press DELETE to remove them from the dataset would be amazingly useful. Or maybe instead of DELETE, you want to COPY the highlighted values. How amazing would that be?

Generally charts are used to just display data. Ready-Only. A feature like this would make the charts more useful and allow users to interact with them in different ways.

willdale commented 2 years ago

Hey @BeauNouvelle, this would be cool, I'll look to add it into the next major version.

Thanks Will