One Logo Pool Ball
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

TypeScript
static fitTo(boundary: AnnotationOverflowResolution_Boundary): AnnotationOverflowResolution_Strategy
Swift declaration
static 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

TypeScript
static get fit(): AnnotationOverflowResolution_Strategy
Swift declaration
static let fit: AnnotationOverflowResolution.Strategy

Fits the annotation automatically, adjusting its position to ensure it doesn't overflow.

get · iOS 17.0+

disabled

TypeScript
static get disabled(): AnnotationOverflowResolution_Strategy
Swift declaration
static let disabled: AnnotationOverflowResolution.Strategy

Places the annotation "as-is".

get · iOS 17.0+

padScale

TypeScript
static get padScale(): AnnotationOverflowResolution_Strategy
Swift declaration
static let padScale: AnnotationOverflowResolution.Strategy

Pads the scale of the chart to make space for the annotation.

get · iOS 17.0+

automatic

TypeScript
static get automatic(): AnnotationOverflowResolution_Strategy
Swift declaration
static let automatic: AnnotationOverflowResolution.Strategy

Automatically chooses a overflow resolution.

Skipped declarations

No declarations were skipped in this snapshot.

All Charts types →