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

Display values on mouse over #183

Open Vincz opened 2 years ago

Vincz commented 2 years ago

First of all, thanks for this amazing library. I tested a lot of charts libs with Swift and this one is by far the cleanest.

I was wondering, if it is possible, at least with Mac OS, to display the graph value on mouse over instead of touch. Kind of like the Stocks app graphs on Mac Os. When the mouse move over the graph, the nearest point is highlighted and his value is displayed.

Thanks!

willdale commented 2 years ago

Hey @Vincz, I'll add this to the list for next major version.

Thanks for the suggestion. Will

georgbachmann commented 2 years ago

Just out of curiosity, do you already know how to implement that? Seems like SwiftUI does not really support that super well?