# CandlestickDataAdapter.Add method

Adds a candlestick 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 openValue, double highValue, double lowValue, 
    double closeValue)
```

## Parameters

| name | type | description |
| --- | --- | --- |
| argument | `DateTime` | The argument of the candlestick. It must be greater than or equal to the last argument in the adapter. |
| openValue | `double` | The opening value of the candlestick. |
| highValue | `double` | The highest value of the candlestick. |
| lowValue | `double` | The lowest value of the candlestick. |
| closeValue | `double` | The closing value of the candlestick. |

## See Also

* class [CandlestickDataAdapter](../CandlestickDataAdapter.md)
* namespace [Eremex.AvaloniaUI.Charts](../index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Charts.dll -->
