Contents

chartZAxisLabel(_:position:alignment:spacing:)

Adds z axis label for charts in the view. It effects 3D charts only.

Declaration

nonisolated func chartZAxisLabel(_ label: some StringProtocol, position: AnnotationPosition = .automatic, alignment: Alignment? = nil, spacing: CGFloat? = nil) -> some View

Parameters

  • label:

    The label string.

  • position:

    The position of the label.

  • alignment:

    The alignment of the label.

  • spacing:

    The spacing of the label from the axis markers.