Manages the internal spacing within chart series data point labels between label borders/backgrounds and text content. Controls the space inside label boundaries to ensure proper text presentation, readability, and professional appearance of data value displays.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartSeriesLabelsPadding : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartSeriesLabelsPadding
Implements:
Inherited Members
Constructors
public ChartSeriesLabelsPadding()
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
protected override void OnInitialized()
Overrides:
protected override void OnParametersSet()
Overrides:
Properties
Sets the bottom internal padding space within series data point labels 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 data visualizations.
[Parameter]
public double? Bottom { get; set; }
[Parameter]
public RenderFragment ChildContent { get; set; }
Sets the left internal padding space within series data point labels 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 optimal readability.
[Parameter]
public double? Left { get; set; }
Sets the right internal padding space within series data point labels 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 label appearance.
[Parameter]
public double? Right { get; set; }
Sets the top internal padding space within series data point labels in pixels. Provides space between the label text and the top edge of the label background, ensuring balanced text positioning and optimal readability in chart data presentations.
[Parameter]
public double? Top { get; set; }