Class StackingSeriesBase
StackingSeriesBase is a class that serves as the base for stacking column series.
Inheritance
System.Object
StackingSeriesBase
Inherited Members
Namespace: Syncfusion.Maui.Charts
Assembly: Syncfusion.Maui.Charts.dll
Syntax
public abstract class StackingSeriesBase : XYDataSeries, IDatapointSelectionDependent, ITooltipDependent, IDataTemplateDependent
Constructors
StackingSeriesBase()
Declaration
protected StackingSeriesBase()
Fields
GroupingLabelProperty
Identifies the GroupingLabel bindable property.
Declaration
public static readonly BindableProperty GroupingLabelProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
StrokeDashArrayProperty
Identifies the StrokeDashArray bindable property
Declaration
public static readonly BindableProperty StrokeDashArrayProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
StrokeProperty
Identifies the Stroke bindable property.
Declaration
public static readonly BindableProperty StrokeProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Properties
GroupingLabel
This property allows for the grouping of series in a stacked chart.
Declaration
public string GroupingLabel { get; set; }
Property Value
Type | Description |
---|---|
System.String | it accept string values and its default value is "chart-default". |
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:StackingColumnSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"
GroupingLabel="GroupOne"/>
<chart:StackingColumnSeries ItemsSource="{Binding Data1}"
XBindingPath="XValue"
YBindingPath="YValue"
GroupingLabel="GroupTwo"/>
<chart:StackingColumnSeries ItemsSource="{Binding Data2}"
XBindingPath="XValue"
YBindingPath="YValue"
GroupingLabel="GroupOne"/>
</chart:SfCartesianChart>
Stroke
Gets or sets a value to customize the stroke appearance.
Declaration
public Brush Stroke { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.Brush | It accepts Microsoft.Maui.Controls.Brush values and its default value is null. |
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:StackingAreaSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"
Stroke = "Red" />
</chart:SfCartesianChart>
StrokeDashArray
Gets or sets the stroke dash array to customize the appearance of the stroke.
Declaration
public DoubleCollection StrokeDashArray { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.DoubleCollection | It accepts the Microsoft.Maui.Controls.DoubleCollection value and the default value is null. |