# SortedDateTimeDataAdapter.Add method (1 of 2)

Adds a data point to the end of the adapter.

**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 void Add((DateTime, double) point)
```

## Parameters

| name | type | description |
| --- | --- | --- |
| point | `(DateTime, double)` | The argument and the value of the data point. |

## See Also

* class [SortedDateTimeDataAdapter](../SortedDateTimeDataAdapter.md)
* namespace [Eremex.AvaloniaUI.Charts](../index.md)

---

# SortedDateTimeDataAdapter.Add method (2 of 2)

Adds a data point to the end of the adapter.

**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 void Add(DateTime argument, double value)
```

## Parameters

| name | type | description |
| --- | --- | --- |
| argument | `DateTime` | The argument of the data point. It must be greater than or equal to the last argument in the adapter. |
| value | `double` | The value of the data point. |

## See Also

* class [SortedDateTimeDataAdapter](../SortedDateTimeDataAdapter.md)
* namespace [Eremex.AvaloniaUI.Charts](../index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Charts.dll -->
