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
public ChartYAxisTitleMargin()
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
protected override void OnInitialized()
Overrides:
protected override void OnParametersSet()
Overrides:
Properties
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.
[Parameter]
public double? Bottom { get; set; }
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.
[Parameter]
public double? Left { get; set; }
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.
[Parameter]
public double? Right { get; set; }
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.
[Parameter]
public double? Top { get; set; }