Skip to content
IzzyBlazor

Enter all results ↑ ↓ move Esc close

Zoom

Since 0.1.0-alpha.22
Zooming shows part of the arguments up close, such as a month of a year of days, from a drag, the wheel, a pinch or the keys, with no round trip.

The members for zoom, and the types they use. Every member of IzzyBlazor.Chart<TItem> is on the Chart API.

Properties (1)

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

The part of the arguments in view, such as the last 30 days: the chart opens zoomed into it. Null (the default) shows every item. With Zoom the reader zooms from there, and ViewChanged says where to (@bind-View).

Parts (2)

Components written inside Chart, and the columns' members, which PropertyColumn, TemplateColumn and DynamicColumn share.

ChartArgumentAxis

A chart's argument axis, where each item is plotted: its format, title, grid lines and how crowded names fit: <ChartArgumentAxis Title="Month" LabelFit="ChartLabelFit.Rotate" />.

Zoombool = falseAdded in 0.1.0-alpha.22

Lets the reader zoom into part of the arguments and pan along them: a drag across the plot, Ctrl (⌘ on a Mac) and the wheel, a pinch, + and − on the focused chart, or the Zoom in and Zoom out buttons by the title. The page still scrolls under the plain wheel and one finger. A ChartRangeSelector in the chart turns it on by itself. The chart's View and ViewChanged say what's in view.

MinZoomSpanint = 2Added in 0.1.0-alpha.22

The fewest items a zoom can come down to. 2 by default.

RangeSelector<TItem>

A strip for choosing a range, such as dates to filter a table by: the whole range drawn small, with a window over the part chosen. 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.

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.

Types (2)

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.

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…