RayCraftDocs
v1.0.3 raycraft.dev
On this page

RangeSelector

Free

A strip with two handles that selects an interval of a series; a small preview of the data sits behind the handles.

Example

RangeSelector control

Parameters

ParameterTypeDescription
CategoriesIReadOnlyList<string>Labels along the horizontal axis.
ClassstringExtra CSS classes added to the root element.
DisabledboolDisables interaction.
HighDoubleUpper value. Use with @bind-High.
LabelstringVisible label text (charts: accessible name; IconButton: accessible name and tooltip).
LowDoubleLower value. Use with @bind-Low.
MaxDouble?Largest allowed value (ProgressBar: the value that means 100%; Rating: number of stars).
MinDoubleSmallest allowed value.
PreviewHeightDoubleHeight of the data preview in pixels.
StepDoubleAmount added or removed by the buttons and arrow keys.
StylestringInline style added to the root element.
ValuesIEnumerable<Double>The numbers to plot.

Events

EventTypeDescription
HighChangedEventCallback<Double>Raised when the upper value changes.
LowChangedEventCallback<Double>Raised when the lower value changes.
RangeChangedEventCallback<ValueTuple<Double, Double>>Raised with the low and high value after either handle moved.

Package

RangeSelector is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.