---
title: "catmullRom(alpha:)"
framework: charts
role: symbol
role_heading: Type Method
path: "charts/interpolationmethod/catmullrom(alpha:)"
---

# catmullRom(alpha:)

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

## Declaration

```swift
static func catmullRom(alpha: CGFloat) -> InterpolationMethod
```

## Parameters

- `alpha`: A parameter for the Catmull-Rom spline. Use 0 for a uniform spline, 0.5 for the centripetal spline, and 1.0 for the chordal spline.
