<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Charts",
  "identifier" : "/documentation/Charts/AxisValueLabelCollisionResolution",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Swift Charts"
    ],
    "preciseIdentifier" : "s:6Charts33AxisValueLabelCollisionResolutionV"
  },
  "title" : "AxisValueLabelCollisionResolution"
}
-->

# AxisValueLabelCollisionResolution

```
struct AxisValueLabelCollisionResolution
```

## Topics

### Type Properties

[`static var automatic: AxisValueLabelCollisionResolution`](/documentation/Charts/AxisValueLabelCollisionResolution/automatic)

Automatically determine the prevention method based on axis type and data.

[`static var disabled: AxisValueLabelCollisionResolution`](/documentation/Charts/AxisValueLabelCollisionResolution/disabled)

Do not apply collision resolution to this label. The label will always be displayed.

[`static var greedy: AxisValueLabelCollisionResolution`](/documentation/Charts/AxisValueLabelCollisionResolution/greedy)

Use a greedy algorithm. Display a label if it’s not overlapping with other labels.

[`static var truncate: AxisValueLabelCollisionResolution`](/documentation/Charts/AxisValueLabelCollisionResolution/truncate)

Truncate a label to the space available to it.

### Type Methods

[`static func greedy(priority: Double, minimumSpacing: CGFloat?) -> AxisValueLabelCollisionResolution`](/documentation/Charts/AxisValueLabelCollisionResolution/greedy(priority:minimumSpacing:))

Use a greedy algorithm. Display a label if it’s not overlapping with other labels.

## Relationships

### Conforms To

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

---

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)