Skip to content

TimeSpanRangeDataAdapter class

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

Public Members

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