AnnotationOverflowResolution
public enum AnnotationOverflowResolutionStrategy for resolving annotations that would overflow the plot area.
Swift Charts equivalent: AnnotationOverflowResolution.
Fields
Section titled “Fields”
Automatic
Section titled “Automatic”Automatic = 0Let the layout pick between padding, disabling, or flipping the annotation.
Returns
ChartGuru.AnnotationOverflowResolution — No return description is available.
Disabled
Section titled “Disabled”Disabled = 1Always draw the annotation at its requested position, even if it overflows.
Returns
ChartGuru.AnnotationOverflowResolution — No return description is available.
AutomaticOrDisabled
Section titled “AutomaticOrDisabled”AutomaticOrDisabled = 2Preserve the annotation when possible, fall back to hiding it when clipping would be unacceptable.
Returns
ChartGuru.AnnotationOverflowResolution — No return description is available.
Padded
Section titled “Padded”Padded = 3Shift the annotation back inside the plot area when it would overflow.
Returns
ChartGuru.AnnotationOverflowResolution — No return description is available.
Flipped
Section titled “Flipped”Flipped = 4Flip the annotation to the opposite side of its mark when it would overflow.
Returns
ChartGuru.AnnotationOverflowResolution — No return description is available.
Fit = 5Scale the Annotation (font / extent) until it fits inside the chosen boundary.
Swift Charts: .fit(to:).
Returns
ChartGuru.AnnotationOverflowResolution — No return description is available.
PadScale
Section titled “PadScale”PadScale = 6Feed the overflow back into the data scale so the axis padding makes room.
Swift Charts: .padScale(_:).
Returns
ChartGuru.AnnotationOverflowResolution — No return description is available.