<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Charts",
  "identifier" : "/documentation/Charts/AnnotationOverflowResolution/Strategy",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Swift Charts"
    ],
    "preciseIdentifier" : "s:6Charts28AnnotationOverflowResolutionV8StrategyV"
  },
  "title" : "AnnotationOverflowResolution.Strategy"
}
-->

# AnnotationOverflowResolution.Strategy

Strategies for annotation overflow resolution.

```
struct Strategy
```

## Topics

### Type Properties

[`static let automatic: AnnotationOverflowResolution.Strategy`](/documentation/Charts/AnnotationOverflowResolution/Strategy/automatic)

Automatically chooses a overflow resolution.

[`static let disabled: AnnotationOverflowResolution.Strategy`](/documentation/Charts/AnnotationOverflowResolution/Strategy/disabled)

Places the annotation “as-is”.

[`static let fit: AnnotationOverflowResolution.Strategy`](/documentation/Charts/AnnotationOverflowResolution/Strategy/fit)

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

[`static let padScale: AnnotationOverflowResolution.Strategy`](/documentation/Charts/AnnotationOverflowResolution/Strategy/padScale)

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

### Type Methods

[`static func fit(to: AnnotationOverflowResolution.Boundary) -> AnnotationOverflowResolution.Strategy`](/documentation/Charts/AnnotationOverflowResolution/Strategy/fit(to:))

Fits the annotation to the given boundary, adjusting its position to ensure it doesn’t overflow.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)