New to Telerik UI for BlazorStart a free 30-day trial

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

Constructors

C#
public ChartPlotAreaPadding()

Methods

C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters:__builderRenderTreeBuilder

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

C#
protected override void OnAfterRender(bool firstRender)
Parameters:firstRenderbool

Overrides: ComponentBase.OnAfterRender(bool)

C#
protected override void OnInitialized()

Overrides: DataVizChildComponent.OnInitialized()

C#
protected override void OnParametersSet()

Overrides: ComponentBase.OnParametersSet()

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

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.

C#
[Parameter]
public double? Bottom { get; set; }
C#
[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.

C#
[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.

C#
[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.

C#
[Parameter]
public double? Top { get; set; }