Closed atrinh0 closed 2 years ago
@tommy-holmes have a look at @atrinh0 ’a approach 🙂
@tommy-holmes have a look at @atrinh0 ’a approach 🙂
Basically the same implementation as the original Apple sample code.
Yeah that is much more smooth I like it, thanks for showing me! I guess you won't be needing the annotationOffset
State var or the DateBins
anymore either 😉
Fixes https://github.com/jordibruin/Swift-Charts-Examples/issues/65
Before
https://user-images.githubusercontent.com/16542463/175368631-528b8271-9144-47e1-abe6-2e6de83e656e.mp4
After
https://user-images.githubusercontent.com/16542463/175368446-64f04acf-b777-44f0-bf0b-1fb70c92f0d3.mp4