Post

Replies

Boosts

Views

Activity

Adapt SwiftUI Chart Colour on Cell Selection
How do I best adapt the color of my SwiftUI charts when the cell in a list is selected? The text color seems to be changing automatically to white, but how do I achieve the same for the graph? I'm using primary and secondary color in my graph like this: LineMark(...) .foregroundStyle(.primary) LineMark(...) .foregroundStyle(.secondary)
Replies
0
Boosts
1
Views
883
Activity
Feb ’23