ClassChartYAxisTitleMargin
Configures the external spacing around Y-axis titles for optimal positioning and professional chart layout. Provides precise control over title placement by defining the space between the title and surrounding chart elements. Use this component to ensure proper title positioning, prevent overlapping with axis elements, and create professional spacing for measurement context presentation.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartYAxisTitleMargin : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartYAxisTitleMargin
Implements:
Inherited Members
Constructors
ChartYAxisTitleMargin()
Declaration
public ChartYAxisTitleMargin()
Properties
Bottom
Sets the bottom external spacing for Y-axis titles in pixels to control vertical positioning and chart layout. Use this property to create appropriate distance between the title and chart elements below it, such as axis labels or plot area. Larger values (10-20 pixels) provide more separation for complex charts, while smaller values (4-8 pixels) create compact layouts. Consider the overall chart structure and measurement context when setting bottom margin for optimal title placement and readability.
Declaration
[Parameter]
public double? Bottom { get; set; }
Property Value
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Left
Sets the left external spacing for Y-axis titles in pixels to control horizontal positioning and chart layout optimization. Use this property to create appropriate distance between the title and chart elements to its left, such as chart borders or other titles. Larger values (10-20 pixels) provide more separation from chart edges, while smaller values (4-8 pixels) keep titles closer to the measurement context. Consider title rotation and content length when setting left margin for optimal axis identification and professional appearance.
Right
Sets the right external spacing for Y-axis titles in pixels to control horizontal positioning and prevent text truncation. Use this property to create appropriate distance between the title and chart elements to its right, such as the axis line or plot area. Larger values (10-20 pixels) provide more space for longer title text, while smaller values (4-8 pixels) create compact layouts. Consider title content length and rotation when setting right margin for optimal readability and measurement context presentation.
Top
Sets the top external spacing for Y-axis titles in pixels to control vertical positioning and visual hierarchy. Use this property to create appropriate distance between the title and chart elements above it, such as other titles or chart borders. Larger values (10-20 pixels) provide more separation for complex layouts, while smaller values (4-8 pixels) create compact presentations. Consider the overall chart design and title positioning when setting top margin for optimal measurement context clarity and professional appearance.
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