Skip to content
IzzyBlazor

Enter all results ↑ ↓ move Esc close

RangeSelector

Since 0.1.0-alpha.22
Chooses a span of dates, numbers or names on a strip that draws the whole range small: on its own it picks a range to filter by, and as ChartRangeSelector it zooms a chart.

IzzyBlazor.RangeSelector<TItem> in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.31 assembly and its doc comments.

Properties (10)

ItemsIEnumerable<TItem>? requiredAdded in 0.1.0-alpha.22

The items it draws, one point per series for each.

ArgumentExpression<Func<TItem, object?>>? requiredAdded in 0.1.0-alpha.22

What each item is at along the strip, such as d => d.Day: dates, numbers or names.

@bind-ViewChartView?Added in 0.1.0-alpha.22 @bind: Interactive only

The range chosen, from one argument to another (null: everything).

ChildContentRenderFragment?Added in 0.1.0-alpha.22

The series it draws, such as <ChartAreaSeries Value="d => d.Visits" />. None draws only the scale.

Syncstring?Added in 0.1.0-alpha.22

The Sync name of the charts it zooms, such as Sync="sales", with no round trip, on a static page too.

Labelstring?Added in 0.1.0-alpha.22

Its name for screen readers. "Range in view" by default.

Rangesbool = falseAdded in 0.1.0-alpha.22

Buttons for common spans back from the last date: 1 month, 3 and 6 months, the year to date, a year, and all. For dates.

PresetsIEnumerable<DateRangePreset>?Added in 0.1.0-alpha.22

Spans of your own to choose in a click, by their first and last days, beside or in place of Ranges.

HeightLength?Added in 0.1.0-alpha.22

The strip's height. 4rem by default.

HideFlagsbool = falseAdded in 0.1.0-alpha.22

Leaves out the flags over the handles that say where the range starts and ends. Under a chart they show only while a handle is pointed at, focused or dragged; on their own, always. Screen readers still hear each handle's value.

Events (0)

No events.

Parts (1)

Components written inside RangeSelector, documented here with it.

ChartRangeSelector

A strip under a chart's plot for zooming it: the chart's series drawn small, with a window over the part in view. Drag the window to pan, its two handles to widen or narrow it, or click the strip to move there; each handle is a slider for the keyboard.

Labelstring?Added in 0.1.0-alpha.22

Its name for screen readers. "Range in view" by default.

Rangesbool = falseAdded in 0.1.0-alpha.22

Buttons for common spans back from the last date: 1 month, 3 and 6 months, the year to date, a year, and all. For dates.

PresetsIEnumerable<DateRangePreset>?Added in 0.1.0-alpha.22

Spans of your own to choose in a click, by their first and last days, beside or in place of Ranges.

HeightLength?Added in 0.1.0-alpha.22

The strip's height. 4rem by default.

HideFlagsbool = falseAdded in 0.1.0-alpha.22

Leaves out the flags over the handles that say where the range starts and ends. Under a chart they show only while a handle is pointed at, focused or dragged; on their own, always. Screen readers still hear each handle's value.

Types (3)

ChartView

record

The part of a chart's argument axis in view: from one argument to another, such as two dates, two numbers or two names (both included). A null end is the data's own end. A Chart's View opens it zoomed in, and its ViewChanged says where the reader zoomed to.

ChartView members
MemberDescription
From object?

The first argument in view, or null for the first item's.

To object?

The last argument in view, or null for the last item's.

DateRangePreset

record

A range to choose in one click, drawn beside a DateRangeField's months.

DateRangePreset members
MemberDescription
Label string

What the button says.

Start DateOnly

Its first day.

End DateOnly

Its last day, included.

Length

struct

A width, height or flex basis: a size token, a keyword, or a CSS length built with a factory such as Rem.

Length members
MemberDescription
Sm

640px (matches the sm breakpoint).

Md

768px (matches the md breakpoint).

Lg

1024px (matches the lg breakpoint).

Xl

1280px (matches the xl breakpoint).

Prose

A comfortable reading width, 68 characters.

Full

100% of the containing block.

Auto

auto.

FitContent

fit-content: as wide as the content, up to the available space.

MinContent

min-content.

MaxContent

max-content.

Px(double value)

Pixels.

Rem(double value)

Root ems (16px each by default).

Percent(double value)

Percent of the containing block.

Ch(double value)

Character widths, for text measures.

Vw(double value)

Percent of the viewport width.

Dvh(double value)

Percent of the dynamic viewport height (accounts for mobile browser bars).

Of(string css)

Any CSS length, such as calc(100% - 2rem). Checked for unsafe characters.

Css string

The CSS value this length renders as.

Connection lost

Rejoining the server…