ClassChartCategoryAxisPlotBandLabel
Telerik UI ChartCategoryAxisPlotBandLabel.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartCategoryAxisPlotBandLabel : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartCategoryAxisPlotBandLabel
Implements:
Inherited Members
Constructors
ChartCategoryAxisPlotBandLabel()
Declaration
public ChartCategoryAxisPlotBandLabel()
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