Use the .annotation modifier; then, you can use a text view to show the y-values of the data points.
Post
Replies
Boosts
Views
Activity
You must provide the model type used for the root type of the key path, i.e. \ModelType.property instead of .property.
Apple uses the following example in the Xcode 15 beta 5 release notes:
@Query(sort: \Person.name) var people: [Person]
In your case it would be something like,
@Query(sort: \Person.id, order: .reverse) private var artList: [ArtInventory]