# TimeSpanRangeDataAdapter class

Converts time span arguments and pairs of numeric values into series data points. The arguments must be sorted in ascending order, so that a range series can draw them in the correct order.

**Namespace:** [`Eremex.AvaloniaUI.Charts`](./index.md)  
**Assembly:** `Eremex.Avalonia.Charts.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls](https://www.nuget.org/packages/Eremex.Avalonia.Controls)

## Declaration

```csharp
public class TimeSpanRangeDataAdapter : ISeriesDataAdapter
```

## Public Members

| name | description |
| --- | --- |
| [TimeSpanRangeDataAdapter](TimeSpanRangeDataAdapter/TimeSpanRangeDataAdapter.md)() | Initializes a new instance of the TimeSpanRangeDataAdapter class that contains no data points. |
| [TimeSpanRangeDataAdapter](TimeSpanRangeDataAdapter/TimeSpanRangeDataAdapter.md)(…) | Initializes a new instance of the TimeSpanRangeDataAdapter class with the specified arguments and values. (2 constructors) |
| [ItemCount](TimeSpanRangeDataAdapter/ItemCount.md) { get; } | Gets the number of data points stored in the adapter. |
| [Add](TimeSpanRangeDataAdapter/Add.md)(…) | Adds a data point to the end of the adapter. (2 methods) |
| [AddRange](TimeSpanRangeDataAdapter/AddRange.md)(…) | Adds several data points to the end of the adapter. |
| [Clear](TimeSpanRangeDataAdapter/Clear.md)() | Removes all data points from the adapter. |
| [RemoveFromStart](TimeSpanRangeDataAdapter/RemoveFromStart.md)(…) | Removes the specified number of data points from the start of the adapter. |
| [UpdateValue](TimeSpanRangeDataAdapter/UpdateValue.md)(…) | Replaces both values of the specified data point. |

## See Also

* interface [ISeriesDataAdapter](./ISeriesDataAdapter.md)
* namespace [Eremex.AvaloniaUI.Charts](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Charts.dll -->
