# SortedDateTimeDataAdapter class

Converts date and time arguments and numeric values into series data points. The arguments must be sorted in ascending order, so that a line series can connect 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 SortedDateTimeDataAdapter : ISeriesDataAdapter
```

## Public Members

| name | description |
| --- | --- |
| [SortedDateTimeDataAdapter](SortedDateTimeDataAdapter/SortedDateTimeDataAdapter.md)() | Initializes a new instance of the SortedDateTimeDataAdapter class that contains no data points. |
| [SortedDateTimeDataAdapter](SortedDateTimeDataAdapter/SortedDateTimeDataAdapter.md)(…) | Initializes a new instance of the SortedDateTimeDataAdapter class with the specified arguments and values. (2 constructors) |
| [ItemCount](SortedDateTimeDataAdapter/ItemCount.md) { get; } | Gets the number of data points stored in the adapter. |
| [Add](SortedDateTimeDataAdapter/Add.md)(…) | Adds a data point to the end of the adapter. (2 methods) |
| [AddRange](SortedDateTimeDataAdapter/AddRange.md)(…) | Adds several data points to the end of the adapter. |
| [Clear](SortedDateTimeDataAdapter/Clear.md)() | Removes all data points from the adapter. |
| [RemoveFromStart](SortedDateTimeDataAdapter/RemoveFromStart.md)(…) | Removes the specified number of data points from the start of the adapter. |
| [UpdateValue](SortedDateTimeDataAdapter/UpdateValue.md)(…) | Replaces the value 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 -->
