InterpolationMethod
public enum InterpolationMethodInterpolation used to connect line and area samples, including straight, curved, and stepped paths.
Remarks
Section titled “Remarks”Every value except InterpolationMethod.Natural matches a Swift Charts InterpolationMethod case of the same name in
lower camel case. Values are serialized by their number, so the order must not change.
Fields
Section titled “Fields”
Linear
Section titled “Linear”Linear = 0Returns
ChartGuru.InterpolationMethod
CatmullRom
Section titled “CatmullRom”CatmullRom = 1Returns
ChartGuru.InterpolationMethod
Monotone
Section titled “Monotone”Monotone = 2Returns
ChartGuru.InterpolationMethod
StepStart
Section titled “StepStart”StepStart = 3Returns
ChartGuru.InterpolationMethod
StepEnd
Section titled “StepEnd”StepEnd = 4Returns
ChartGuru.InterpolationMethod
StepCenter
Section titled “StepCenter”StepCenter = 5Steps halfway between points, like Swift Charts’ .stepCenter.
Returns
ChartGuru.InterpolationMethod
Cardinal
Section titled “Cardinal”Cardinal = 6Returns
ChartGuru.InterpolationMethod
Natural
Section titled “Natural”Natural = 7A natural cubic spline. Chart Guru extension: Swift Charts has no .natural interpolation.
Returns
ChartGuru.InterpolationMethod