# RadzenRangeBarSeries<TItem> Class

A chart series that displays data as horizontal range bars in a RadzenChart. Each bar spans from a minimum value to a maximum value, useful for showing value ranges per category.

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)
- RadzenRangeBarSeries<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)
- [IChartBarSeries](https://blazor.radzen.com/docs/api/Radzen.Blazor.IChartBarSeries.md)

## Syntax

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

## Type Parameters

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

## Examples

```razor
<RadzenChart>
    <RadzenRangeBarSeries Data=@data CategoryProperty="Task"
        MinProperty="Start" MaxProperty="End" Title="Timeline" />
</RadzenChart>
```

## Constructors

| Constructor | Description |
|-------------|-------------|
| `public RadzenRangeBarSeries<TItem>()` | A chart series that displays data as horizontal range bars in a RadzenChart. Each bar spans from a minimum value to a maximum value, useful for showing value ranges per category. |

## Properties

| Property | Type | Description |
|------|------|-------------|
| Color | `string` |  |
| Fill | `string` | Gets or sets the fill color of the bars. |
| FillMode | [`FillMode`](https://blazor.radzen.com/docs/api/Radzen.Blazor.FillMode.md) | Specifies how the series is filled. Set to Solid by default. Use Gradient for a fill that fades toward the axis baseline, or None to render only the outline. |
| Fills | `IEnumerable<string>` | Gets or sets a collection of fill colors for individual bars. |
| GradientEndOpacity | `double` | Specifies the opacity at the baseline of the gradient fill. Used when FillMode is Gradient. |
| GradientStartOpacity | `double` | Specifies the opacity at the value end of the gradient fill. Used when FillMode is Gradient. |
| LineType | [`LineType`](https://blazor.radzen.com/docs/api/Radzen.Blazor.LineType.md) | Gets or sets the line type for bar borders. |
| MaxProperty | `string` | Gets or sets the name of the property that provides the maximum (right) value. |
| MinProperty | `string` | Gets or sets the name of the property that provides the minimum (left) value. |
| Stroke | `string` | Gets or sets the stroke (border) color of the bars. |
| StrokeWidth | `double` | Gets or sets the width of the bar border in pixels. |
| Strokes | `IEnumerable<string>` | Gets or sets a collection of stroke colors for individual bars. |

## 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>` |  |
| `GetCategories()` | `IList<object>` |  |
| `Render(ScaleBase categoryScale, ScaleBase valueScale)` | `RenderFragment` |  |
| `SetParametersAsync(ParameterView parameters)` | `Task` |  |
| `TooltipStyle(TItem item)` | `string` |  |
| `TooltipTitle(TItem item)` | `string` |  |
| `TooltipValue(TItem item)` | `string` |  |
| `TransformCategoryScale(ScaleBase scale)` | [`ScaleBase`](https://blazor.radzen.com/docs/api/Radzen.Blazor.ScaleBase.md) |  |
| `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, 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, RenderTooltip, RenderTopOverlays, RenderingOrder, RequireChart, ShowActivePoint, ShowInLegend, ShowLineInLegend, Title, TooltipClass, TooltipLabel, TooltipTemplate, 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

