<!--
{
  "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/InterpolationMethod",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Swift Charts"
    ],
    "preciseIdentifier" : "s:6Charts19InterpolationMethodV"
  },
  "title" : "InterpolationMethod"
}
-->

# InterpolationMethod

The ways in which line or area marks interpolate their data.

```
@frozen struct InterpolationMethod
```

## Topics

### Type Properties

[`static var cardinal: InterpolationMethod`](/documentation/Charts/InterpolationMethod/cardinal)

Interpolate data points with cardinal spline.

[`static var catmullRom: InterpolationMethod`](/documentation/Charts/InterpolationMethod/catmullRom)

Interpolate data points with Catmull-Rom spline.

[`static var linear: InterpolationMethod`](/documentation/Charts/InterpolationMethod/linear)

Interpolate data points linearly.

[`static var monotone: InterpolationMethod`](/documentation/Charts/InterpolationMethod/monotone)

Interpolate data points with a cubic spline that preserves monotonicity
of the data.

[`static var stepCenter: InterpolationMethod`](/documentation/Charts/InterpolationMethod/stepCenter)

Interpolate data points with a step, or piece-wise constant function,
where the data point is at the center of the step.

[`static var stepEnd: InterpolationMethod`](/documentation/Charts/InterpolationMethod/stepEnd)

Interpolate data points with a step, or piece-wise constant function,
where the data point is at the end of the step.

[`static var stepStart: InterpolationMethod`](/documentation/Charts/InterpolationMethod/stepStart)

Interpolate data points with a step, or piece-wise constant function,
where the data point is at the start of the step.

### Type Methods

[`static func cardinal(tension: CGFloat) -> InterpolationMethod`](/documentation/Charts/InterpolationMethod/cardinal(tension:))

Interpolate data points with cardinal spline, using the given tension
parameter.

[`static func catmullRom(alpha: CGFloat) -> InterpolationMethod`](/documentation/Charts/InterpolationMethod/catmullRom(alpha:))

Interpolate data points with Catmull-Rom spline, using the given alpha
parameter.

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)