# 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.

Namespace: [Radzen.Blazor](https://blazor.radzen.com/docs/api/Radzen.Blazor.md)

Assembly: Radzen.Blazor.dll

## Inheritance

- Object
- ComponentBase
- [RadzenChartComponentBase](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenChartComponentBase.md)
- [CartesianSeries<TItem>](https://blazor.radzen.com/docs/api/Radzen.Blazor.CartesianSeries-1.md)
- RadzenBoxPlotSeries<TItem>

## Implements

- IComponent
- IHandleEvent
- IHandleAfterRender
- [IChartSeries](https://blazor.radzen.com/docs/api/Radzen.Blazor.IChartSeries.md)
- [IChartValueAxisSeries](https://blazor.radzen.com/docs/api/Radzen.Blazor.IChartValueAxisSeries.md)

## Syntax

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

## Type Parameters

| Name | Description |
|------|-------------|
| TItem | The type of data items in the series. |

## Constructors

| Constructor | Description |
|-------------|-------------|
| `public RadzenBoxPlotSeries<TItem>()` | 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. |

## Properties

| Property | Type | Description |
|------|------|-------------|
| Color | `string` |  |
| Fill | `string` | Gets or sets the fill color for the box. |
| LowerQuartileProperty | `string` | Gets or sets the name of the property that provides the lower quartile (Q1, 25th percentile) value. |
| LowerWhiskerProperty | `string` | Gets or sets the name of the property that provides the lower whisker (minimum) value. |
| MeanFill | `string` | Gets or sets the fill color for the mean marker. |
| MeanProperty | `string` | Gets or sets the name of the property that provides the mean value. Optional. |
| MedianProperty | `string` | Gets or sets the name of the property that provides the median (Q2, 50th percentile) value. |
| MedianStroke | `string` | Gets or sets the stroke color for the median line. Falls back to Stroke. |
| ShowActivePoint | `bool` |  |
| ShowMean | `bool` | Gets or sets whether to display the mean marker. |
| Stroke | `string` | Gets or sets the stroke color for the box, whiskers, and median line. |
| StrokeWidth | `double` | Gets or sets the width of lines in pixels. |
| UpperQuartileProperty | `string` | Gets or sets the name of the property that provides the upper quartile (Q3, 75th percentile) value. |
| UpperWhiskerProperty | `string` | Gets or sets the name of the property that provides the upper whisker (maximum) value. |
| WhiskerWidth | `double?` | Gets or sets the width of whisker cap lines in pixels. Defaults to 60% of box width. |
| Width | `double?` | Gets or sets the width of each box in pixels. Auto-calculated if null. |

## Methods

| Method | Returns | Description |
|------|---------|-------------|
| `BuildRenderTree(Rendering.RenderTreeBuilder __builder)` | `void` |  |
| `Contains(double x, double y, double tolerance)` | `bool` |  |
| `DataAt(double x, double y)` | `ValueTuple<object, Point>` |  |
| `Render(ScaleBase categoryScale, ScaleBase valueScale)` | `RenderFragment` |  |
| `RenderTooltip(object data)` | `RenderFragment` |  |
| `SetParametersAsync(ParameterView parameters)` | `Task` |  |
| `TooltipStyle(TItem item)` | `string` |  |
| `TooltipValue(TItem item)` | `string` |  |
| `TransformValueScale(ScaleBase scale)` | [`ScaleBase`](https://blazor.radzen.com/docs/api/Radzen.Blazor.ScaleBase.md) |  |

## Inherited Members

- From [CartesianSeries<TItem>](https://blazor.radzen.com/docs/api/Radzen.Blazor.CartesianSeries-1.md): BandIntersects, CategoryProperty, ChildContent, ClipToPlotRange, ComposeCategory, ComposeValue, CoordinateSystem, Data, Dispose, GetCategories, GetDataLabels, GetMean, GetMedian, GetMode, GetRawValueGetter, GetScaledDataPoints, GetTitle, GetTooltipPosition, GetTrend, Hidden, IncludeZeroInValueScale, Initialize, InsidePolygon, InvokeClick, IsDate, IsNumeric, IsValueNullable, Items, MarkerSize, MarkerType, Markers, MeasureLegend, MeasureLegendItems, Overlays, PickColor, RenderLegendItem, RenderOverlays, RenderSharedTooltipItem, RenderTopOverlays, RenderingOrder, RequireChart, ShowInLegend, ShowLineInLegend, Title, TooltipClass, TooltipLabel, TooltipTemplate, TooltipTitle, TransformCategoryScale, TryGetPlotRange, ValueAxisName, ValueProperty, Visible
- From [RadzenChartComponentBase](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenChartComponentBase.md): Chart, DidParameterChange, ShouldRefreshChart, ValidateParameters
- From ComponentBase: Assets, AssignedRenderMode, DispatchExceptionAsync, InvokeAsync, OnAfterRender, OnAfterRenderAsync, OnInitialized, OnInitializedAsync, OnParametersSet, OnParametersSetAsync, RendererInfo, ShouldRender, StateHasChanged

