ClassChartSeriesStack
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
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartSeriesStack : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartSeriesStack
Implements:
Inherited Members
Constructors
ChartSeriesStack()
Declaration
public ChartSeriesStack()
Properties
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
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.
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.
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
[Parameter]
public ChartSeriesStackType? Type { get; set; }
Property Value
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