chartXAxis AxisMark consisting of Month:Year

I have a Chart displaying Counts per Date over 2-3 years. I'd like to have the XAxis mark consist of MM-yy or even MM/nyy. Is this possible? OK, just saw AxisValueLabel(format: .dateTime.month().year()) which gives e.g. Mar 2024. This is good.

Better might be Mar 24 (maybe a Y3K problem ;-) or even better

Mar. OR Mar 24. 2024

Or best increment the year when it changes.

Are any of these alternate formats possible?

Thanks, David

PS, my current .chartXAxis code

        .chartXAxis {
            AxisMarks(values: .stride(by: .month, count: 3)) { value in
                if value.as(Date.self) != nil {
                    AxisValueLabel(format: .dateTime.month().year())
                    AxisGridLine()
                    AxisTick()
                }
            }
        }

They're a few ways you can customize the format labels. Customizing axes in Swift Charts has a few examples you should checkout.

chartXAxis AxisMark consisting of Month:Year
 
 
Q