New to Telerik UI for BlazorStart a free 30-day trial

Configures the text label displayed within or adjacent to value axis plot bands for descriptive annotations. Provides comprehensive control over label appearance, positioning, and styling to clearly identify and describe plot band purposes. Use this component to add informative text labels to plot bands, explaining their significance such as "Target Range" or "Warning Zone".

Definition

Constructors

C#
public ChartValueAxisPlotBandLabel()

Methods

C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters:__builderRenderTreeBuilder

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

C#
protected override void OnAfterRender(bool firstRender)
Parameters:firstRenderbool

Overrides: ComponentBase.OnAfterRender(bool)

C#
protected override void OnInitialized()

Overrides: DataVizChildComponent.OnInitialized()

C#
protected override void OnParametersSet()

Overrides: ComponentBase.OnParametersSet()

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Properties

The position of the plotband label.The supported values are: "left" - the plotband label is positioned on the left; "right" - the plotband label is positioned on the right or "center" - the plotband label is positioned in the center.

C#
[Parameter]
public ChartAxisPlotBandsLabelAlign? Align { get; set; }

The background color of the label. Accepts a valid CSS color string, including hex and rgb.

C#
[Parameter]
public string Background { get; set; }
C#
[Parameter]
public RenderFragment ChildContent { get; set; }

The text color of the label. Accepts a valid CSS color string, including hex and rgb.

C#
[Parameter]
public string Color { get; set; }

The font style of the label.

C#
[Parameter]
public string Font { get; set; }

The position of the label.The supported values are: "top" - the axis label is positioned on the top; "bottom" - the axis label is positioned on the bottom or "center" - the axis label is positioned in the center.

C#
[Parameter]
public ChartAxisPlotBandsLabelPosition? Position { get; set; }

The rotation angle of the label. By default the label is not rotated.

C#
[Parameter]
public double? Rotation { get; set; }

The text of the label.

C#
[Parameter]
public string Text { get; set; }

If set to false the chart will not display the label.

C#
[Parameter]
public bool? Visible { get; set; }