RadzenSeriesValueLabel Class

Inheritance

Object

ComponentBase

RadzenChartComponentBase

RadzenSeriesValueLabel

Implements

IComponent

IHandleEvent

IHandleAfterRender

IChartSeriesOverlay

Inherited Members

RadzenChartComponentBase.Initialize

RadzenChartComponentBase.ShouldRefreshChart

RadzenChartComponentBase.SetParametersAsync

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 RadzenSeriesValueLabel : RadzenChartComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IChartSeriesOverlay

Constructors

RadzenSeriesValueLabellink

Declaration
public RadzenSeriesValueLabel()

Properties

Filllink

Gets or sets the background color of the label. Defaults to the series color.

Declaration
public string Fill { get; set; }
Property Value
Type Description
stringGets or sets the background color of the label. Defaults to the series color.

RenderOnToplink

Value labels render above all series so no series line draws over them.

Declaration
public bool RenderOnTop { get; }
Property Value
Type Description
boolValue labels render above all series so no series line draws over them.

Serieslink

The series this overlay belongs to. Set by the parent series via a cascading parameter.

Declaration
protected IChartSeries Series { get; set; }
Property Value
Type Description
IChartSeriesThe series this overlay belongs to. Set by the parent series via a cascading parameter.

Visiblelink

Gets or sets a value indicating whether the label is visible. Set to true by default.

Declaration
public bool Visible { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether the label is visible. Set to true by default.

Methods

BuildRenderTreelink

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

Containslink

Declaration
public bool Contains(double mouseX, double mouseY, int tolerance)
Parameters
Type Name Description
double mouseX
double mouseY
int tolerance
Returns
Type Description
bool

Disposelink

Declaration
public void Dispose()

GetTooltipPositionlink

Declaration
public Point GetTooltipPosition(double mouseX, double mouseY)
Parameters
Type Name Description
double mouseX
double mouseY
Returns
Type Description
Point

Renderlink

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

RenderTooltiplink

Declaration
public RenderFragment RenderTooltip(double mouseX, double mouseY)
Parameters
Type Name Description
double mouseX
double mouseY
Returns
Type Description
RenderFragment
An error has occurred. This app may no longer respond until reloaded. Reload 🗙