Skip to content

SortedTimeSpanDataAdapter class

Converts time span 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 SortedTimeSpanDataAdapter : ISeriesDataAdapter

Public Members

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