SummaryCandlestickDataAdapter class¶
Summarizes date and time arguments into candlestick data points. All source values that fall into the same measure unit produce a single candlestick, where the opening and closing values are the first and the last value of the group, and the low and high values are the minimum and the maximum of the group.
Namespace: Eremex.AvaloniaUI.Charts
Assembly: Eremex.Avalonia.Charts.dll
NuGet Package: Eremex.Avalonia.Controls
Declaration¶
Public Members¶
| name | description |
|---|---|
| SummaryCandlestickDataAdapter() | Initializes a new instance of the SummaryCandlestickDataAdapter class that contains no source values. |
| SummaryCandlestickDataAdapter(…) | Initializes a new instance of the SummaryCandlestickDataAdapter class with the specified source values. |
| ItemCount { get; } | Gets the number of candlesticks summarized by the adapter. |
| MeasureUnit { get; set; } | Gets or sets the time unit that groups the source arguments into candlesticks. |
| MeasureUnitFactor { get; set; } | Gets or sets the number of measure units combined into a single candlestick. |
| Add(…) | Adds a source value and recalculates the resulting candlesticks. |
| Clear() | Removes all source values from the adapter. |
| RemoveFromStart(…) | Removes the specified number of source values from the start of the data set and recalculates the resulting candlesticks. |
See Also¶
- interface ISeriesDataAdapter
- namespace Eremex.AvaloniaUI.Charts