RadzenBulletSeries<TItem> Class

A chart series that displays bullet charts in a RadzenChart. Each bullet shows a primary measure bar, a comparative/target marker, and qualitative range bands. Renders horizontally like RadzenBarSeries<T>.

Inheritance

Object

ComponentBase

RadzenChartComponentBase

CartesianSeries<TItem>

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

CartesianSeries<TItem>.RenderTopOverlays

CartesianSeries<TItem>.SetParametersAsync

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

Type Parameters

Name Description
TItemThe type of data items in the series.

Constructors

RadzenBulletSeries<TItem>link

A chart series that displays bullet charts in a RadzenChart. Each bullet shows a primary measure bar, a comparative/target marker, and qualitative range bands. Renders horizontally like RadzenBarSeries<T>.

Declaration
public RadzenBulletSeries<TItem>()

Properties

Colorlink

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

Filllink

Gets or sets the fill color for the primary measure bar.

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

FillModelink

Specifies how the measure bar 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 measure bar 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.

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.

Heightlink

Gets or sets the height of each bullet row in pixels. Auto-calculated if null.

Declaration
public double? Height { get; set; }
Property Value
Type Description
double?Gets or sets the height of each bullet row in pixels. Auto-calculated if null.

MaxPropertylink

Gets or sets the name of the property that provides the maximum range value. This defines the full extent of the qualitative range background.

Declaration
public string MaxProperty { get; set; }
Property Value
Type Description
stringGets or sets the name of the property that provides the maximum range value. This defines the full extent of the qualitative range background.

RangeColorslink

Gets or sets the qualitative range colors from darkest (poor) to lightest (good). Defaults to three shades of gray.

Declaration
public IEnumerable<string> RangeColors { get; set; }
Property Value
Type Description
IEnumerable<string>Gets or sets the qualitative range colors from darkest (poor) to lightest (good). Defaults to three shades of gray.

RangeThresholdslink

Gets or sets the qualitative range thresholds as fractions of MaxProperty (e.g. 0.3, 0.6, 1.0). Must have the same count as RangeColors. Defaults to thirds.

Declaration
public IEnumerable<double> RangeThresholds { get; set; }
Property Value
Type Description
IEnumerable<double>Gets or sets the qualitative range thresholds as fractions of MaxProperty (e.g. 0.3, 0.6, 1.0). Must have the same count as RangeColors. Defaults to thirds.

Strokelink

Gets or sets the stroke color.

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

StrokeWidthlink

Gets or sets the stroke width in pixels.

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

TargetPropertylink

Gets or sets the name of the property that provides the target/comparative value. Rendered as a vertical marker line.

Declaration
public string TargetProperty { get; set; }
Property Value
Type Description
stringGets or sets the name of the property that provides the target/comparative value. Rendered as a vertical marker line.

TargetStrokelink

Gets or sets the color of the target marker line.

Declaration
public string TargetStroke { get; set; }
Property Value
Type Description
stringGets or sets the color of the target marker line.

TargetWidthlink

Gets or sets the width of the target marker line in pixels.

Declaration
public double TargetWidth { get; set; }
Property Value
Type Description
doubleGets or sets the width of the target marker line in pixels.

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

RenderTooltiplink

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

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 🗙