ClassChartValueAxisPlotBandLabel
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
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartValueAxisPlotBandLabel : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartValueAxisPlotBandLabel
Implements:
Inherited Members
Constructors
ChartValueAxisPlotBandLabel()
Declaration
public ChartValueAxisPlotBandLabel()
Properties
Align
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.
Declaration
[Parameter]
public ChartAxisPlotBandsLabelAlign? Align { get; set; }
Property Value
Background
The background color of the label. Accepts a valid CSS color string, including hex and rgb.
Declaration
[Parameter]
public string Background { get; set; }
Property Value
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Color
The text color of the label. Accepts a valid CSS color string, including hex and rgb.
Font
The font style of the label.
Position
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.
Declaration
[Parameter]
public ChartAxisPlotBandsLabelPosition? Position { get; set; }
Property Value
Rotation
The rotation angle of the label. By default the label is not rotated.
Declaration
[Parameter]
public double? Rotation { get; set; }
Property Value
Text
The text of the label.
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
OnAfterRender(bool)
Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
firstRender
Overrides
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()
Overrides
Serialize()
Declaration
public Dictionary<string, object> Serialize()
Returns