RangeSelector
Since 0.1.0-alpha.22IzzyBlazor.RangeSelector<TItem> in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.31 assembly
and its doc comments.
Properties (10)
ItemsIEnumerable<TItem>? requiredThe items it draws, one point per series for each.
ArgumentExpression<Func<TItem, object?>>? requiredWhat each item is at along the strip, such as d => d.Day: dates, numbers or names.
@bind-ViewChartView?The range chosen, from one argument to another (null: everything).
ChildContentRenderFragment?The series it draws, such as <ChartAreaSeries Value="d => d.Visits" />. None draws only the scale.
Syncstring?The Sync name of the charts it zooms, such as Sync="sales", with no round trip, on a static page too.
Labelstring?Its name for screen readers. "Range in view" by default.
Rangesbool = falseButtons 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>?Spans of your own to choose in a click, by their first and last days, beside or in place of Ranges.
HeightLength?The strip's height. 4rem by default.
HideFlagsbool = falseLeaves 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?Its name for screen readers. "Range in view" by default.
Rangesbool = falseButtons 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>?Spans of your own to choose in a click, by their first and last days, beside or in place of Ranges.
HeightLength?The strip's height. 4rem by default.
HideFlagsbool = falseLeaves 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
recordThe 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.
| Member | Description |
|---|---|
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
recordA range to choose in one click, drawn beside a DateRangeField's months.
| Member | Description |
|---|---|
Label string | What the button says. |
Start DateOnly | Its first day. |
End DateOnly | Its last day, included. |
Length
structA width, height or flex basis: a size token, a keyword, or a CSS length built with a factory such as Rem.
| Member | Description |
|---|---|
Sm | 640px (matches the |
Md | 768px (matches the |
Lg | 1024px (matches the |
Xl | 1280px (matches the |
Prose | A comfortable reading width, 68 characters. |
Full | 100% of the containing block. |
Auto |
|
FitContent |
|
MinContent |
|
MaxContent |
|
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 |
Css string | The CSS value this length renders as. |