Orientation (vertical, angle) in Swift Charts is not working

Hi!

I want to use the new SwiftUI Charts (iOS 16) in my app and it seems that the orientation does not work. I want to make the AxisLabels vertical oder verticalReversed or give it a certain angle but all three methods don't seem to work.

        AxisMarks() { _ in
            AxisValueLabel(orientation: .angle(Angle.degrees(45.0)))
        }
     }

Am i doing something wrong or is it a bug in the beta framework?

Kind regards,

Tom

Orientation (vertical, angle) in Swift Charts is not working
 
 
Q