Reply to Swift Charts y-axis scale changes when RuleMark annotation is displayed Overriding the default overflow resolution fixes this: .annotation(overflowResolution: .init(x: .fit(to: .chart)) { ... } UI Frameworks SwiftUI Jul ’23