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.

Inheritance

Object

ComponentBase

RadzenChartComponentBase

CartesianSeries<TItem>

RadzenRangeBarSeries<TItem>

Implements

IComponent

IHandleEvent

IHandleAfterRender

IChartSeries

IChartValueAxisSeries

IChartBarSeries

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

CartesianSeries<TItem>.RenderTopOverlays

CartesianSeries<TItem>.Initialize

CartesianSeries<TItem>.MeasureLegend

CartesianSeries<TItem>.MeasureLegendItems

CartesianSeries<TItem>.InsidePolygon

CartesianSeries<TItem>.RenderTooltip

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

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 RadzenRangeBarSeries<TItem> : CartesianSeries<TItem>, IComponent, IHandleEvent, IHandleAfterRender, IChartSeries, IChartValueAxisSeries, IChartBarSeries

Type Parameters

Name Description
TItemThe type of data items in the series.

Examples

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

Constructors

RadzenRangeBarSeries<TItem>link

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.

Declaration
public RadzenRangeBarSeries<TItem>()

Properties

Colorlink

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

Filllink

Gets or sets the fill color of the bars.

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

FillModelink

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.

Declaration
public FillMode FillMode { get; set; }
Property Value
Type Description
FillModeSpecifies 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.

Fillslink

Gets or sets a collection of fill colors for individual bars.

Declaration
public IEnumerable<string> Fills { get; set; }
Property Value
Type Description
IEnumerable<string>Gets or sets a collection of fill colors for individual bars.

GradientEndOpacitylink

Specifies the opacity at the baseline of the gradient fill. Used when FillMode is Gradient.

Declaration
public double GradientEndOpacity { get; set; }
Property Value
Type Description
doubleSpecifies the opacity at the baseline of the gradient fill. Used when FillMode is Gradient.

GradientStartOpacitylink

Specifies the opacity at the value end of the gradient fill. Used when FillMode is Gradient.

Declaration
public double GradientStartOpacity { get; set; }
Property Value
Type Description
doubleSpecifies the opacity at the value end of the gradient fill. Used when FillMode is Gradient.

LineTypelink

Gets or sets the line type for bar borders.

Declaration
public LineType LineType { get; set; }
Property Value
Type Description
LineTypeGets or sets the line type for bar borders.

MaxPropertylink

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

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

MinPropertylink

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

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

Strokelink

Gets or sets the stroke (border) color of the bars.

Declaration
public string Stroke { get; set; }
Property Value
Type Description
stringGets or sets the stroke (border) color of the bars.

StrokeWidthlink

Gets or sets the width of the bar border in pixels.

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

Strokeslink

Gets or sets a collection of stroke colors for individual bars.

Declaration
public IEnumerable<string> Strokes { get; set; }
Property Value
Type Description
IEnumerable<string>Gets or sets a collection of stroke colors for individual bars.

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>

GetCategorieslink

Declaration
protected override IList<object> GetCategories()
Returns
Type Description
IList<object>

Renderlink

Declaration
public override RenderFragment Render(ScaleBase categoryScale, ScaleBase valueScale)
Parameters
Type Name Description
ScaleBase categoryScale
ScaleBase valueScale
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

TooltipTitlelink

Declaration
protected override string TooltipTitle(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

TransformCategoryScalelink

Declaration
public override ScaleBase TransformCategoryScale(ScaleBase scale)
Parameters
Type Name Description
ScaleBase scale
Returns
Type Description
ScaleBase

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 🗙