ClassChartPlotAreaPadding
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
ChartPlotAreaPadding()
Declaration
public ChartPlotAreaPadding()
Properties
Bottom
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.
Declaration
[Parameter]
public double? Bottom { get; set; }
Property Value
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Left
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.
Right
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.
Top
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.
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