RadzenBoxPlotSeries<TItem> Class

A chart series that displays statistical data as box-and-whisker plots in a RadzenChart. Each box plot represents five values: LowerWhisker (min), LowerQuartile (Q1), Median (Q2), UpperQuartile (Q3), and UpperWhisker (max). Optionally displays a mean marker.

Inheritance

Object

ComponentBase

RadzenChartComponentBase

CartesianSeries<TItem>

RadzenBoxPlotSeries<TItem>

Implements

IComponent

IHandleEvent

IHandleAfterRender

IChartSeries

IChartValueAxisSeries

Inherited Members

CartesianSeries<TItem>.RequireChart

CartesianSeries<TItem>.ComposeCategory

CartesianSeries<TItem>.ComposeValue

CartesianSeries<TItem>.IsValueNullable

CartesianSeries<TItem>.GetRawValueGetter

CartesianSeries<TItem>.IsDate

CartesianSeries<TItem>.IsNumeric

CartesianSeries<TItem>.GetCategories

CartesianSeries<TItem>.TransformCategoryScale

CartesianSeries<TItem>.RenderOverlays

CartesianSeries<TItem>.RenderTopOverlays

CartesianSeries<TItem>.Initialize

CartesianSeries<TItem>.MeasureLegend

CartesianSeries<TItem>.MeasureLegendItems

CartesianSeries<TItem>.InsidePolygon

CartesianSeries<TItem>.RenderSharedTooltipItem

CartesianSeries<TItem>.GetTooltipPosition

CartesianSeries<TItem>.TooltipClass

CartesianSeries<TItem>.RenderLegendItem

CartesianSeries<TItem>.GetMedian

CartesianSeries<TItem>.GetMean

CartesianSeries<TItem>.GetMode

CartesianSeries<TItem>.GetTrend

CartesianSeries<TItem>.GetScaledDataPoints

CartesianSeries<TItem>.GetTitle

CartesianSeries<TItem>.TooltipLabel

CartesianSeries<TItem>.TooltipTitle

CartesianSeries<TItem>.GetDataLabels

CartesianSeries<TItem>.PickColor

CartesianSeries<TItem>.Dispose

CartesianSeries<TItem>.InvokeClick

CartesianSeries<TItem>.ValueAxisName

CartesianSeries<TItem>.Title

CartesianSeries<TItem>.ChildContent

CartesianSeries<TItem>.TooltipTemplate

CartesianSeries<TItem>.Overlays

CartesianSeries<TItem>.CoordinateSystem

CartesianSeries<TItem>.CategoryProperty

CartesianSeries<TItem>.Visible

CartesianSeries<TItem>.Hidden

CartesianSeries<TItem>.ShowInLegend

CartesianSeries<TItem>.ValueProperty

CartesianSeries<TItem>.RenderingOrder

CartesianSeries<TItem>.Data

CartesianSeries<TItem>.Items

CartesianSeries<TItem>.Markers

CartesianSeries<TItem>.MarkerType

CartesianSeries<TItem>.ShowLineInLegend

CartesianSeries<TItem>.MarkerSize

RadzenChartComponentBase.ShouldRefreshChart

RadzenChartComponentBase.ValidateParameters

RadzenChartComponentBase.DidParameterChange

RadzenChartComponentBase.Chart

ComponentBase.OnInitialized

ComponentBase.OnInitializedAsync

ComponentBase.OnParametersSet

ComponentBase.OnParametersSetAsync

ComponentBase.StateHasChanged

ComponentBase.ShouldRender

ComponentBase.OnAfterRender

ComponentBase.OnAfterRenderAsync

ComponentBase.InvokeAsync

ComponentBase.DispatchExceptionAsync

ComponentBase.RendererInfo

ComponentBase.Assets

ComponentBase.AssignedRenderMode

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class RadzenBoxPlotSeries<TItem> : CartesianSeries<TItem>, IComponent, IHandleEvent, IHandleAfterRender, IChartSeries, IChartValueAxisSeries

Type Parameters

Name Description
TItemThe type of data items in the series.

Constructors

RadzenBoxPlotSeries<TItem>link

A chart series that displays statistical data as box-and-whisker plots in a RadzenChart. Each box plot represents five values: LowerWhisker (min), LowerQuartile (Q1), Median (Q2), UpperQuartile (Q3), and UpperWhisker (max). Optionally displays a mean marker.

Declaration
public RadzenBoxPlotSeries<TItem>()

Properties

Colorlink

Declaration
public string Color { get; }
Property Value
Type Description
string

Filllink

Gets or sets the fill color for the box.

Declaration
public string Fill { get; set; }
Property Value
Type Description
stringGets or sets the fill color for the box.

LowerQuartilePropertylink

Gets or sets the name of the property that provides the lower quartile (Q1, 25th percentile) value.

Declaration
public string LowerQuartileProperty { get; set; }
Property Value
Type Description
stringGets or sets the name of the property that provides the lower quartile (Q1, 25th percentile) value.

LowerWhiskerPropertylink

Gets or sets the name of the property that provides the lower whisker (minimum) value.

Declaration
public string LowerWhiskerProperty { get; set; }
Property Value
Type Description
stringGets or sets the name of the property that provides the lower whisker (minimum) value.

MeanFilllink

Gets or sets the fill color for the mean marker.

Declaration
public string MeanFill { get; set; }
Property Value
Type Description
stringGets or sets the fill color for the mean marker.

MeanPropertylink

Gets or sets the name of the property that provides the mean value. Optional.

Declaration
public string MeanProperty { get; set; }
Property Value
Type Description
stringGets or sets the name of the property that provides the mean value. Optional.

MedianPropertylink

Gets or sets the name of the property that provides the median (Q2, 50th percentile) value.

Declaration
public string MedianProperty { get; set; }
Property Value
Type Description
stringGets or sets the name of the property that provides the median (Q2, 50th percentile) value.

MedianStrokelink

Gets or sets the stroke color for the median line. Falls back to Stroke.

Declaration
public string MedianStroke { get; set; }
Property Value
Type Description
stringGets or sets the stroke color for the median line. Falls back to Stroke.

ShowActivePointlink

Declaration
public bool ShowActivePoint { get; }
Property Value
Type Description
bool

ShowMeanlink

Gets or sets whether to display the mean marker.

Declaration
public bool ShowMean { get; set; }
Property Value
Type Description
boolGets or sets whether to display the mean marker.

Strokelink

Gets or sets the stroke color for the box, whiskers, and median line.

Declaration
public string Stroke { get; set; }
Property Value
Type Description
stringGets or sets the stroke color for the box, whiskers, and median line.

StrokeWidthlink

Gets or sets the width of lines in pixels.

Declaration
public double StrokeWidth { get; set; }
Property Value
Type Description
doubleGets or sets the width of lines in pixels.

UpperQuartilePropertylink

Gets or sets the name of the property that provides the upper quartile (Q3, 75th percentile) value.

Declaration
public string UpperQuartileProperty { get; set; }
Property Value
Type Description
stringGets or sets the name of the property that provides the upper quartile (Q3, 75th percentile) value.

UpperWhiskerPropertylink

Gets or sets the name of the property that provides the upper whisker (maximum) value.

Declaration
public string UpperWhiskerProperty { get; set; }
Property Value
Type Description
stringGets or sets the name of the property that provides the upper whisker (maximum) value.

WhiskerWidthlink

Gets or sets the width of whisker cap lines in pixels. Defaults to 60% of box width.

Declaration
public double? WhiskerWidth { get; set; }
Property Value
Type Description
double?Gets or sets the width of whisker cap lines in pixels. Defaults to 60% of box width.

Widthlink

Gets or sets the width of each box in pixels. Auto-calculated if null.

Declaration
public double? Width { get; set; }
Property Value
Type Description
double?Gets or sets the width of each box in pixels. Auto-calculated if null.

Methods

BuildRenderTreelink

Declaration
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
Parameters
Type Name Description
Rendering.RenderTreeBuilder __builder

Containslink

Declaration
public override bool Contains(double x, double y, double tolerance)
Parameters
Type Name Description
double x
double y
double tolerance
Returns
Type Description
bool

DataAtlink

Declaration
public override ValueTuple<object, Point> DataAt(double x, double y)
Parameters
Type Name Description
double x
double y
Returns
Type Description
ValueTuple<object, Point>

Renderlink

Declaration
public override RenderFragment Render(ScaleBase categoryScale, ScaleBase valueScale)
Parameters
Type Name Description
ScaleBase categoryScale
ScaleBase valueScale
Returns
Type Description
RenderFragment

RenderTooltiplink

Declaration
public override RenderFragment RenderTooltip(object data)
Parameters
Type Name Description
object data
Returns
Type Description
RenderFragment

SetParametersAsynclink

Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Type Name Description
ParameterView parameters
Returns
Type Description
Task

TooltipStylelink

Declaration
protected override string TooltipStyle(TItem item)
Parameters
Type Name Description
TItem item
Returns
Type Description
string

TooltipValuelink

Declaration
protected override string TooltipValue(TItem item)
Parameters
Type Name Description
TItem item
Returns
Type Description
string

TransformValueScalelink

Declaration
public override ScaleBase TransformValueScale(ScaleBase scale)
Parameters
Type Name Description
ScaleBase scale
Returns
Type Description
ScaleBase
An error has occurred. This app may no longer respond until reloaded. Reload 🗙