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
public ChartValueAxisPlotBandLabel()
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
protected override void OnInitialized()
Overrides:
protected override void OnParametersSet()
Overrides:
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.
[Parameter]
public ChartAxisPlotBandsLabelAlign? Align { get; set; }
The background color of the label. Accepts a valid CSS color string, including hex and rgb.
[Parameter]
public string Background { get; set; }
[Parameter]
public RenderFragment ChildContent { get; set; }
The text color of the label. Accepts a valid CSS color string, including hex and rgb.
[Parameter]
public string Color { 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.
[Parameter]
public ChartAxisPlotBandsLabelPosition? Position { get; set; }
The rotation angle of the label. By default the label is not rotated.
[Parameter]
public double? Rotation { get; set; }