Skip to content
IzzyBlazor

Enter all results ↑ ↓ move Esc close

Reference lines

Since 0.1.0-alpha.22
Lines at a target or an average, and shaded ranges of values or arguments such as a season, each labeled in text and said in the chart's description.

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

Parts (2)

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

ChartReferenceLine

A line across a chart at a value, such as a target, or at an argument, such as a launch date, labeled in text beside it: <ChartReferenceLine Value="150_000" Label="Target" />. With Statistic and Series, the value is the series' average or median. The line is dashed, so it reads apart from the series.

Valuedouble?Added in 0.1.0-alpha.22

The value the line is drawn at, on the value axis.

Argumentobject?Added in 0.1.0-alpha.22

The argument the line is drawn at, across the argument axis: a name, number or date, such as a launch day.

ValueAxisstring? (computed)Added in 0.1.0-alpha.22

The Name of the value axis Value or Statistic is read on. Defaults to the first.

StatisticChartStatistic?Added in 0.1.0-alpha.22

Works the value out from Series in place of Value.

Seriesstring?Added in 0.1.0-alpha.22

The name of the series Statistic is worked out from.

Labelstring? (computed)Added in 0.1.0-alpha.22

The line's label, such as "Target". Defaults to its value (or the statistic's name).

LabelAlignChartAlign?Added in 0.1.0-alpha.22

Where the label sits along the line. On a line across it sits just above the line, at the left by default; on an upright line it sits on the line, at the top by default. ChartAlign.Start is the left or the top, ChartAlign.Center the middle, ChartAlign.End the right or the bottom.

InLegendbool = falseAdded in 0.1.0-alpha.24

Names the line in the chart's legend, beside a dashed key, in place of the label on it: for a line whose value the axis already shows, such as a target. It needs a Label, and brings the legend up on a chart of one series.

ChartReferenceBand

A shaded range across a chart, labeled in text inside it: between two values with From and To, such as <ChartReferenceBand From="120_000" To="150_000" Label="Target range" />, or between two arguments with ArgumentFrom and ArgumentTo, such as <ChartReferenceBand ArgumentFrom="@("Nov")" ArgumentTo="@("Dec")" Label="Holiday season" />. Its edges are drawn, so it reads apart from the grid.

Fromdouble?Added in 0.1.0-alpha.22

Where a band of values starts, on the value axis.

Todouble?Added in 0.1.0-alpha.22

Where a band of values ends.

ArgumentFromobject?Added in 0.1.0-alpha.22

Where a band of arguments starts: a name, number or date.

ArgumentToobject?Added in 0.1.0-alpha.22

Where a band of arguments ends. On names, the band covers both ends' bands.

ValueAxisstring? (computed)Added in 0.1.0-alpha.22

The Name of the value axis From and To are read on. Defaults to the first.

Labelstring?Added in 0.1.0-alpha.22

The band's label, such as "Holiday season".

Types (2)

ChartAlign

enum

Where a chart's title or legend sits along its edge: for a title or a legend above or below, left, center or right (in a left-to-right page); for a legend beside the chart, top, middle or bottom.

ChartAlign values
ValueDescription
Start

At the start: the left (in a left-to-right page), or the top beside the chart.

Center

Centered.

End

At the end: the right (in a left-to-right page), or the bottom beside the chart.

ChartStatistic

enum

A value worked out from a series, for a ChartReferenceLine.

ChartStatistic values
ValueDescription
Average

The mean of the series' values.

Median

The middle value of the series' values.

Connection lost

Rejoining the server…