Class
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

Constructors

ChartPlotAreaPadding()

Declaration

cs-api-definition
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

cs-api-definition
[Parameter]
public double? Bottom { get; set; }

Property Value

double?

ChildContent

Declaration

cs-api-definition
[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

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.

Declaration

cs-api-definition
[Parameter]
public double? Left { get; set; }

Property Value

double?

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.

Declaration

cs-api-definition
[Parameter]
public double? Right { get; set; }

Property Value

double?

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.

Declaration

cs-api-definition
[Parameter]
public double? Top { get; set; }

Property Value

double?

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

OnAfterRender(bool)

Declaration

cs-api-definition
protected override void OnAfterRender(bool firstRender)

Parameters

firstRender

bool

Overrides ComponentBase.OnAfterRender(bool)

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides DataVizChildComponent.OnInitialized()

OnParametersSet()

Declaration

cs-api-definition
protected override void OnParametersSet()

Overrides ComponentBase.OnParametersSet()

Serialize()

Declaration

cs-api-definition
public Dictionary<string, object> Serialize()

Returns

Dictionary<string, object>