Box plot
Since 0.1.0-alpha.23IzzyBlazor.ChartBoxPlotSeries<TItem> in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.31 assembly
and its doc comments.
Properties (17)
ValueExpression<Func<TItem, object?>> requiredEach item's value, such as d => d.Days: a number, or null to leave the item out.
WhiskersChartWhiskers = ChartWhiskers.TukeyHow far the whiskers reach: ChartWhiskers.Tukey (the default), to the furthest values within 1.5 times the box's height, with outliers past them; or ChartWhiskers.MinMax, to the smallest and largest values.
ShowMeanbool = falseMarks each box's mean with a diamond, and says it in the tooltip and data table.
AggregateDataAggregate = DataAggregate.SumWith ChartDrillLevel<T>s, how each level adds up its items' values: DataAggregate.Sum (the default), DataAggregate.Avg, DataAggregate.Min, DataAggregate.Max or DataAggregate.Count (the items with a value).
Namestring? (computed)The series' name, in the legend, the data table and each value's description. Defaults to the property's [Display] name, or its name in words.
SeriesByExpression<Func<TItem, object?>>?Splits the series into one per value of this, such as p => p.Device: each draws only its own items' values, is named by its value, and takes the next color and marker, in the order the values first appear. Color doesn't apply to a split series.
Colorstring? (computed)A CSS color, such as var(--ib-color-danger) or #0f766e. Defaults to the next of the chart palette's colors (--ib-chart-1, the brand color by default, to --ib-chart-8, or a set picked for two, three or four series).
LabelsChartLabels = ChartLabels.NoneWrites each value beside its bar or point. Labels that would overlap others are left out at the widths where they would, and screen readers skip them: the data table has every value.
LabelFormatstring? (computed)A .NET format string for this series' labels, such as C0. Defaults to the values' own text.
LabelTextExpression<Func<TItem, object?>>?What each label says in place of its value, such as r => r.Region to name each bubble or point. Setting it turns the labels on (ChartLabels.Auto, unless Labels says otherwise), and the tooltip stays on for the values.
LabelOverlapChartLabelOverlap = ChartLabelOverlap.HideWhat labels do when they'd overlap others: left out at those widths (ChartLabelOverlap.Hide, the default), or shown anyway (ChartLabelOverlap.Show).
TrendChartTrend = ChartTrend.NoneDraws a trend through the values: a dashed line in the series' color, named "Revenue trend" (a moving average "Revenue, 7-day average") in the legend, tooltips and data table. ChartTrend.Linear, ChartTrend.Polynomial (of TrendOrder) or ChartTrend.MovingAverage (over TrendPeriod).
TrendOrderint = 2A polynomial trend's order, 2 (a parabola) to 6. Defaults to 2.
TrendPeriodint = 3How many values a moving average takes in, 2 or more. Defaults to 3.
TrendColorstring? (computed)The trend's CSS color, such as var(--ib-color-danger), used as given. Defaults to the series' color mixed toward the text color (darker in light mode, lighter in dark), so it reads over the series' own bars.
Events (0)
No events.
Parts (1)
Components written inside ChartBoxPlotSeries, documented here with it.
ChartBoxSummarySeries<TItem>
Draws a box plot from numbers already worked out, one item per box: its Low, Q1, Median, Q3 and High, such as a database's percentiles over millions of rows. The whiskers end at Low and High, whatever they stand for (the minimum and maximum, the 5th and 95th percentiles, Tukey's fences): say which in the chart's title. Mean adds a diamond and Outliers circles past the whiskers. SeriesBy puts the boxes of items that share an Argument side by side. To work the numbers out from raw values, use ChartBoxPlotSeries<T>.
LowExpression<Func<TItem, object?>> requiredWhere each box's lower whisker ends, such as r => r.P5.
Q1Expression<Func<TItem, object?>> requiredEach box's first quartile, its lower edge, such as r => r.P25.
MedianExpression<Func<TItem, object?>> requiredEach box's median, the line across it, such as r => r.P50.
Q3Expression<Func<TItem, object?>> requiredEach box's third quartile, its upper edge, such as r => r.P75.
HighExpression<Func<TItem, object?>> requiredWhere each box's upper whisker ends, such as r => r.P95.
MeanExpression<Func<TItem, object?>>?Each box's mean, marked with a diamond and said in the tooltip and data table.
OutliersExpression<Func<TItem, IEnumerable<double>?>>?Each box's values past its whiskers, drawn as circles, such as r => r.Outliers.
AggregateDataAggregate = DataAggregate.SumWith ChartDrillLevel<T>s, how each level adds up its items' values: DataAggregate.Sum (the default), DataAggregate.Avg, DataAggregate.Min, DataAggregate.Max or DataAggregate.Count (the items with a value).
Namestring? (computed)The series' name, in the legend, the data table and each value's description. Defaults to the property's [Display] name, or its name in words.
SeriesByExpression<Func<TItem, object?>>?Splits the series into one per value of this, such as p => p.Device: each draws only its own items' values, is named by its value, and takes the next color and marker, in the order the values first appear. Color doesn't apply to a split series.
Colorstring? (computed)A CSS color, such as var(--ib-color-danger) or #0f766e. Defaults to the next of the chart palette's colors (--ib-chart-1, the brand color by default, to --ib-chart-8, or a set picked for two, three or four series).
LabelsChartLabels = ChartLabels.NoneWrites each value beside its bar or point. Labels that would overlap others are left out at the widths where they would, and screen readers skip them: the data table has every value.
LabelFormatstring? (computed)A .NET format string for this series' labels, such as C0. Defaults to the values' own text.
LabelTextExpression<Func<TItem, object?>>?What each label says in place of its value, such as r => r.Region to name each bubble or point. Setting it turns the labels on (ChartLabels.Auto, unless Labels says otherwise), and the tooltip stays on for the values.
LabelOverlapChartLabelOverlap = ChartLabelOverlap.HideWhat labels do when they'd overlap others: left out at those widths (ChartLabelOverlap.Hide, the default), or shown anyway (ChartLabelOverlap.Show).
TrendChartTrend = ChartTrend.NoneDraws a trend through the values: a dashed line in the series' color, named "Revenue trend" (a moving average "Revenue, 7-day average") in the legend, tooltips and data table. ChartTrend.Linear, ChartTrend.Polynomial (of TrendOrder) or ChartTrend.MovingAverage (over TrendPeriod).
TrendOrderint = 2A polynomial trend's order, 2 (a parabola) to 6. Defaults to 2.
TrendPeriodint = 3How many values a moving average takes in, 2 or more. Defaults to 3.
TrendColorstring? (computed)The trend's CSS color, such as var(--ib-color-danger), used as given. Defaults to the series' color mixed toward the text color (darker in light mode, lighter in dark), so it reads over the series' own bars.
Types (5)
ChartLabelOverlap
enumWhat a series's labels do when they'd overlap other labels.
| Value | Description |
|---|---|
Hide | A label that would overlap one placed before it is left out at the widths where it would. |
Show | Every label shows, overlapping or not. They're placed before other series' labels, which step around them. A label still needs room in the plot (or in its bar, inside). |
ChartLabels
enumWhere a series writes each value beside its bar or point.
| Value | Description |
|---|---|
None | No labels. |
Auto | Placed by type: past a bar's end, in the middle of a stacked segment, above a point. A label with no room there moves inside the bar or below the point, or is left out. |
Inside | Inside the bar, at its end (in the middle of a stacked segment), or below a point. |
Outside | Past the bar's end, or above a point, moving inside or below when there's no room. |
ChartTrend
enumA trend drawn through a ChartSeriesBase<T>'s values.
| Value | Description |
|---|---|
None | No trend. |
Linear | The straight line that fits the values best (least squares). |
Polynomial | A curve that fits the values best, of |
MovingAverage | Each value the average of the last |
ChartWhiskers
enumHow far a box plot's whiskers reach from its box.
| Value | Description |
|---|---|
Tukey | Tukey's rule, the default: to the furthest values within 1.5 times the box's height (the interquartile range) of its ends. Values past them are outliers, drawn as hollow circles. |
MinMax | To the smallest and largest values, with no outliers. |
DataAggregate
enumWhat a DataGrid column works out over a group of rows, or over all of them.
| Value | Description |
|---|---|
Sum | The values added up. For numbers. |
Avg | The mean of the values. For numbers. |
Min | The lowest value. For numbers, dates, times and text. |
Max | The highest value. For numbers, dates, times and text. |
Count | How many rows. |
Custom | The field's own |