Post

Replies

Boosts

Views

Activity

Reply to "font" and "foregroundstyle" modifier on AxisValueLabel don't work!
I had the same problem with both .foregroundStyle and .font. My workaround was: AxisValueLabel { Text(String(format: "%.2f", value.as(Double.self) ?? 0)) .foregroundColor(.red) }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’22