Use the .annotation modifier; then, you can use a text view to show the y-values of the data points.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: