Class
ChartSeriesStack

Configures series stacking behavior for creating stacked chart visualizations where multiple series are combined to show cumulative values or parts of a whole. Controls stacking groups, types, and enables/disables stacking functionality for comprehensive multi-series data analysis.

Definition

Constructors

ChartSeriesStack()

Declaration

cs-api-definition
public ChartSeriesStack()

Properties

ChildContent

Declaration

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

Property Value

RenderFragment

Enabled

Enables or disables series stacking functionality. Set to true to stack this series with others, false to display as individual series, or leave null for default behavior. Stacking combines multiple series to show cumulative values or parts-to-whole relationships.

Declaration

cs-api-definition
[Parameter]
public bool? Enabled { get; set; }

Property Value

bool?

Group

Specifies the stacking group name to organize series into separate stacks. Series with the same group name will be stacked together, while different groups create separate stacks. Use meaningful names like "Primary", "Secondary", or category-based groupings for clear organization.

Declaration

cs-api-definition
[Parameter]
public string Group { get; set; }

Property Value

string

Type

Determines the stacking calculation method using ChartSeriesStackType values. Choose between value-based stacking for absolute values or percentage-based stacking (100% stacked) for relative proportions and parts-to-whole analysis.

Declaration

cs-api-definition
[Parameter]
public ChartSeriesStackType? Type { get; set; }

Property Value

ChartSeriesStackType?

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>