ClassChartValueAxisTitlePadding
Configures the internal padding within the chart value axis title area to control spacing between title text and its boundaries. Provides precise control over the space inside the title container for optimal text positioning and visual presentation, especially when using title backgrounds or borders. Use this component to adjust title text spacing when working with styled value axis titles that have background colors or decorative borders.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartValueAxisTitlePadding : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartValueAxisTitlePadding
Implements:
Inherited Members
Constructors
ChartValueAxisTitlePadding()
Declaration
public ChartValueAxisTitlePadding()
Properties
Bottom
Sets the bottom padding inside the value axis title container in pixels. Controls the space between title text and the bottom edge of the title area, particularly useful when the title has a background or border. Use this to prevent text from appearing too close to title boundaries and improve text readability within styled title containers. Example: Set to 4 when the axis title has background colors, or 8 for more generous internal spacing with decorative title styling.
Declaration
[Parameter]
public double? Bottom { get; set; }
Property Value
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Left
Sets the left padding inside the value axis title container in pixels. Controls the space between title text and the left edge of the title area, ensuring proper text positioning within title boundaries. Use this to adjust text placement when working with title backgrounds, borders, or specific alignment requirements for axis descriptions. Example: Set to 6 to move title text away from the left edge when using background colors or custom title styling.
Right
Sets the right padding inside the value axis title container in pixels. Controls the space between title text and the right edge of the title area, preventing text from appearing cramped within styled titles. Use this to ensure title text has adequate space on the right side, particularly important for longer axis descriptions or decorative styling. Example: Set to 8 when axis titles need more internal space, or 5 for compact but readable title formatting.
Top
Sets the top padding inside the value axis title container in pixels. Controls the space between title text and the top edge of the title area, improving text positioning and visual appeal within styled titles. Use this to create proper spacing above title text, especially when axis titles have background styling or decorative borders. Example: Set to 3 for subtle top spacing, or 7 when axis titles have prominent background styling requiring more internal breathing room.
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