Creating Chart with SwiftData

I am having trouble figuring out how to make plottable points for Charts Framework. I felt like this should be easy to do. So I feel like I am missing something very clear and obvious. After I make a @Query for my data, how do I make it so that I can use it to make points on a chart?

1 Like