Charts · IOS API REFERENCE
AnnotationOverflowResolution.Strategy
struct · iOS 17.0+ · SDK 27.1
struct Strategy
Strategies for annotation overflow resolution.
Members (5)
static · iOS 17.0+fit
TypeScriptstatic fitTo(boundary: AnnotationOverflowResolution_Boundary): AnnotationOverflowResolution_Strategy
Swift declarationstatic func fit(to boundary: AnnotationOverflowResolution.Boundary) -> AnnotationOverflowResolution.Strategy
Fits the annotation to the given boundary, adjusting its position to ensure it doesn't overflow.
get · iOS 17.0+fit
TypeScriptstatic get fit(): AnnotationOverflowResolution_Strategy
Swift declarationstatic let fit: AnnotationOverflowResolution.Strategy
Fits the annotation automatically, adjusting its position to ensure it doesn't overflow.
get · iOS 17.0+disabled
TypeScriptstatic get disabled(): AnnotationOverflowResolution_Strategy
Swift declarationstatic let disabled: AnnotationOverflowResolution.Strategy
Places the annotation "as-is".
get · iOS 17.0+padScale
TypeScriptstatic get padScale(): AnnotationOverflowResolution_Strategy
Swift declarationstatic let padScale: AnnotationOverflowResolution.Strategy
Pads the scale of the chart to make space for the annotation.
get · iOS 17.0+automatic
TypeScriptstatic get automatic(): AnnotationOverflowResolution_Strategy
Swift declarationstatic let automatic: AnnotationOverflowResolution.Strategy
Automatically chooses a overflow resolution.
Skipped declarations
No declarations were skipped in this snapshot.
All Charts types →