---
title: "InterpolationMode"
---
<!-- DO NOT EDIT! This file was auto-generated by crates/build/re_types_builder/src/codegen/docs/website.rs -->

Specifies how values between data points are interpolated in time series.

## Variants
#### `Linear` = 1
Connect data points with straight line segments.

#### `StepAfter` = 2
Hold the previous value until the next data point, then jump.

The step occurs at the end of the interval.

#### `StepBefore` = 3
Jump to the new value immediately, then hold until the next data point.

The step occurs at the beginning of the interval.

#### `StepMid` = 4
Hold the previous value until the midpoint between data points, then jump to the new value.

The step occurs at the midpoint of the interval.


## Arrow datatype
```
UInt8
```

## API reference links
 * 🌊 [C++ API docs for `InterpolationMode`](https://ref.rerun.io/docs/cpp/stable/namespacererun_1_1components.html)
 * 🐍 [Python API docs for `InterpolationMode`](https://ref.rerun.io/docs/python/stable/common/components#rerun.components.InterpolationMode)
 * 🦀 [Rust API docs for `InterpolationMode`](https://docs.rs/rerun/latest/rerun/components/enum.InterpolationMode.html)


## Used by

* [`SeriesLines`](../archetypes/series_lines.md)
