Class StackingSeriesBase
StackingSeriesBase is a base class for stacking chart series, including StackingColumnSeries,StackingColumn100Series,StackingLineSeries, StackingLine100Series, StackingAreaSeries, and StackingArea100Series.
Inheritance
Inherited Members
Namespace: Syncfusion.Maui.Toolkit.Charts
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public abstract class StackingSeriesBase : XYDataSeries, IDatapointSelectionDependent, ITooltipDependent, IDataTemplateDependentConstructors
StackingSeriesBase()
Declaration
protected StackingSeriesBase()Fields
GroupingLabelProperty
Identifies the GroupingLabel bindable property.
Declaration
public static readonly BindableProperty GroupingLabelPropertyField Value
| Type | 
|---|
| Microsoft.Maui.Controls.BindableProperty | 
Remarks
The GroupingLabel property allows for the grouping of series in a stacked chart.
StrokeDashArrayProperty
Identifies the StrokeDashArray bindable property.
Declaration
public static readonly BindableProperty StrokeDashArrayPropertyField Value
| Type | 
|---|
| Microsoft.Maui.Controls.BindableProperty | 
Remarks
The StrokeDashArray property specifies customization of the stroke patterns in the series.
StrokeProperty
Identifies the Stroke bindable property.
Declaration
public static readonly BindableProperty StrokePropertyField Value
| Type | 
|---|
| Microsoft.Maui.Controls.BindableProperty | 
Remarks
The Stroke property determines the brush used for the stroke (outline) of the series.
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  | 
Examples
    <chart:SfCartesianChart>
    <!-- ... Eliminated for simplicity-->
 <chart:StackingColumnSeries ItemsSource = "{Binding RoadSafetyData}"
                             XBindingPath = "Month"
                             YBindingPath = "Bus"
                             GroupingLabel = "GroupOne"/>
 <chart:StackingColumnSeries ItemsSource = "{Binding RoadSafetyData}"
                             XBindingPath = "Month"
                             YBindingPath = "Car"
                             GroupingLabel = "GroupTwo"/>
 <chart:StackingColumnSeries ItemsSource = "{Binding RoadSafetyData}"
                             XBindingPath = "Month"
                             YBindingPath = "Truck"
                             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. |