Post

SwiftUI Chart Custom XAxis

1
2
3
4
5
6
7
.chartXAxis{
AxisMarks(values: xAxisValues()) { value in
    AxisValueLabel(
        format: .dateTime.day().month(),
        centered: true
    )
}
This post is licensed under CC BY 4.0 by the author.