Skip to content

SortedDateTimeDataAdapter class

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

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

Declaration

public class SortedDateTimeDataAdapter : ISeriesDataAdapter

Public Members

name description
SortedDateTimeDataAdapter() Initializes a new instance of the SortedDateTimeDataAdapter class that contains no data points.
SortedDateTimeDataAdapter(…) Initializes a new instance of the SortedDateTimeDataAdapter 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 the value of the specified data point.

See Also

Used in articles