# CandlestickDataAdapter class

Converts date and time arguments and open, high, low, and close values into series data points. The arguments must be sorted in ascending order, so that the candlesticks are drawn 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 CandlestickDataAdapter : ISeriesDataAdapter
```

## Public Members

| name | description |
| --- | --- |
| [CandlestickDataAdapter](CandlestickDataAdapter/CandlestickDataAdapter.md)() | Initializes a new instance of the CandlestickDataAdapter class that contains no candlesticks. |
| [CandlestickDataAdapter](CandlestickDataAdapter/CandlestickDataAdapter.md)(…) | Initializes a new instance of the CandlestickDataAdapter class with the specified candlesticks. |
| [ItemCount](CandlestickDataAdapter/ItemCount.md) { get; } | Gets the number of data points stored in the adapter. |
| [Add](CandlestickDataAdapter/Add.md)(…) | Adds a candlestick to the end of the adapter. |
| [Clear](CandlestickDataAdapter/Clear.md)() | Removes all candlesticks from the adapter. |
| [RemoveFromStart](CandlestickDataAdapter/RemoveFromStart.md)(…) | Removes the specified number of candlesticks from the start of the adapter. |
| [UpdateValue](CandlestickDataAdapter/UpdateValue.md)(…) | Replaces the values of the specified candlestick. |

## See Also

* interface [ISeriesDataAdapter](./ISeriesDataAdapter.md)
* namespace [Eremex.AvaloniaUI.Charts](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Charts.dll -->
