Guessing:
I think it has something to do with DATA.depot.datapoints. Is Depot a struct or a class?
Just remember:
Mutating a class property is not considered as a value change.
Mutating a struct property is considered as a value change.
Testing
For testing purpose create a temp @Published var temp dataPoints, update it there and see if your view reacts.
If so then it is something with Depot and if it is a struct / class.
Possible Workaround
You can manually call objectWillChange.send() inside your DataService to indicate the object has changed
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: