ClassChartYAxisTitlePadding
Configures the internal spacing within Y-axis titles for optimal text presentation and readability. Provides precise control over the space between the title text and its border or background to ensure professional appearance and clear measurement context. Use this component to create appropriate text breathing room, improve readability, and maintain consistent spacing standards across axis titles.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartYAxisTitlePadding : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartYAxisTitlePadding
Implements:
Inherited Members
Constructors
ChartYAxisTitlePadding()
Declaration
public ChartYAxisTitlePadding()
Properties
Bottom
Sets the bottom internal spacing within Y-axis titles in pixels for optimal text presentation and readability. Use this property to create appropriate space between the title text and its bottom border or background edge. Larger values (8-16 pixels) provide more breathing room for text, while smaller values (2-6 pixels) create compact title presentations. Consider font size and title background styling when setting bottom padding for professional appearance and measurement context clarity.
Declaration
[Parameter]
public double? Bottom { get; set; }
Property Value
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Left
Sets the left internal spacing within Y-axis titles in pixels for optimal text alignment and presentation. Use this property to create appropriate space between the title text and its left border or background edge. Larger values (8-16 pixels) provide more text indentation, while smaller values (2-6 pixels) create compact layouts. Consider text alignment and title background styling when setting left padding for professional axis identification and readability.
Right
Sets the right internal spacing within Y-axis titles in pixels for balanced text presentation and professional appearance. Use this property to create appropriate space between the title text and its right border or background edge. Larger values (8-16 pixels) provide more text margin, while smaller values (2-6 pixels) maximize title content space. Consider text length and title styling when setting right padding for optimal readability and measurement context presentation.
Top
Sets the top internal spacing within Y-axis titles in pixels for optimal vertical text positioning and readability. Use this property to create appropriate space between the title text and its top border or background edge. Larger values (8-16 pixels) provide more vertical breathing room, while smaller values (2-6 pixels) create compact vertical presentations. Consider font metrics and title background styling when setting top padding for professional axis labeling and measurement clarity.
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