ClassChartSeriesLabelsFromPadding
Manages the internal spacing within "from" value labels in range chart series between label borders and text content. Controls the space inside from label backgrounds to ensure proper text presentation and readability in range data visualizations.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartSeriesLabelsFromPadding : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartSeriesLabelsFromPadding
Implements:
Inherited Members
Constructors
ChartSeriesLabelsFromPadding()
Declaration
public ChartSeriesLabelsFromPadding()
Properties
Bottom
Sets the bottom internal padding space within "from" value labels in range series in pixels. Creates space between the label text and the bottom edge of the label background or border, ensuring proper text presentation and preventing cramped appearance in range visualizations.
Declaration
[Parameter]
public double? Bottom { get; set; }
Property Value
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Left
Sets the left internal padding space within "from" value labels in range series in pixels. Provides space between the label text and the left edge of the label background, ensuring text doesn't touch label boundaries and maintains readability in range data presentations.
Right
Sets the right internal padding space within "from" value labels in range series in pixels. Creates space between the label text and the right edge of the label background or border, preventing text from appearing cramped and ensuring professional appearance in range visualizations.
Top
Sets the top internal padding space within "from" value labels in range series in pixels. Provides space between the label text and the top edge of the label background, ensuring balanced text positioning and optimal readability in range data presentations.
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