Skip to content

DateTimeRangeDataAdapter class

Converts date and time arguments and pairs of numeric values into series data points. The arguments must be sorted in ascending order, so that a range series can draw them in the correct order.

Namespace: Eremex.AvaloniaUI.Charts
Assembly: Eremex.Avalonia.Charts.dll
NuGet Package: Eremex.Avalonia.Controls

Declaration

public class DateTimeRangeDataAdapter : ISeriesDataAdapter

Public Members

name description
DateTimeRangeDataAdapter() Initializes a new instance of the DateTimeRangeDataAdapter class that contains no data points.
DateTimeRangeDataAdapter(…) Initializes a new instance of the DateTimeRangeDataAdapter class with the specified arguments and values. (2 constructors)
ItemCount { get; } Gets the number of data points stored in the adapter.
Add(…) Adds a data point to the end of the adapter. (2 methods)
AddRange(…) Adds several data points to the end of the adapter.
Clear() Removes all data points from the adapter.
RemoveFromStart(…) Removes the specified number of data points from the start of the adapter.
UpdateValue(…) Replaces both values of the specified data point.

See Also

Used in articles