Class StackedSeriesBase
Inheritance
System.Object
StackedSeriesBase
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.Chart.WinUI.dll
Syntax
public abstract class StackedSeriesBase : XyDataSeries, INotifyPropertyChanged
Constructors
StackedSeriesBase()
Declaration
protected StackedSeriesBase()
Fields
GroupNameProperty
Identifies the GroupName
dependency property.
Declaration
public static readonly DependencyProperty GroupNameProperty
Field Value
Type | Description |
---|---|
Microsoft.UI.Xaml.DependencyProperty | The identifier for |
Properties
GroupName
Gets or sets a value that will be used to group the stacked similar series.
Declaration
public string GroupName { get; set; }
Property Value
Type | Description |
---|---|
System.String | It accepts string values, and the default value is null. |
Remarks
The stacked series with the same GroupName will be stacked together in a single group.
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:StackedColumnSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue1"
GroupName="Group1"/>
<chart:StackedColumnSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue2"
GroupName="Group1"/>
<chart:StackedColumnSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue3"
GroupName="Group2"/>
<chart:StackedColumnSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue4"
GroupName="Group2"/>
</chart:SfCartesianChart>
Implements
System.ComponentModel.INotifyPropertyChanged