ChartPlotAreaPadding
Manages the internal spacing within the chart plot area between the plot area border and the actual data visualization area. Controls the space inside the plot area that affects how close series data appears to the plot area edges, ensuring proper data presentation and visual breathing room.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartPlotAreaPadding : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartPlotAreaPadding
Implements:
Inherited Members
Constructors
public ChartPlotAreaPadding()
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 the chart plot area in pixels. Creates space between the bottom edge of the plot area and the data visualization area, preventing series data from appearing too close to the bottom border. Use values like 5-15 pixels for comfortable data presentation.
[Parameter]
public double? Bottom { get; set; }
[Parameter]
public RenderFragment ChildContent { get; set; }
Sets the left internal padding space within the chart plot area in pixels. Provides space between the left edge of the plot area and the data visualization area, ensuring series data doesn't touch the left border. Common values range from 5-20 pixels depending on data density.
[Parameter]
public double? Left { get; set; }
Sets the right internal padding space within the chart plot area in pixels. Creates space between the right edge of the plot area and the data visualization area, preventing series data from crowding the right border. Use appropriate padding for balanced data presentation.
[Parameter]
public double? Right { get; set; }
Sets the top internal padding space within the chart plot area in pixels. Provides space between the top edge of the plot area and the data visualization area, ensuring series data maintains proper distance from the top border. Standard values range from 5-15 pixels.
[Parameter]
public double? Top { get; set; }