This works for me:
.chartXScale(range: .plotDimension(startPadding: -10, endPadding: -10))
I'm not sure if this is the most proper way but I didn't find a better solution
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: