Class StackingLine100Series
The StackingLine100Series is a collection of data points, where the lines are stacked on top of each other to represent a percentage of the total for each category.
Inheritance
Inherited Members
Namespace: Syncfusion.Maui.Charts
Assembly: Syncfusion.Maui.Charts.dll
Syntax
public class StackingLine100Series : StackingLineSeries, IDatapointSelectionDependent, ITooltipDependent, IDataTemplateDependent, IMarkerDependent, IDrawCustomLegendIcon
Remarks
The cumulative portion of each stacked element always total to 100%
To render a series, create an instance of StackingLine100Series class, and add it to the Series collection.
It provides options for Fill, PaletteBrushes, StrokeWidth, StrokeDashArray and Opacity to customize the appearance.
Utilize the Fill property to customize the line stroke.
EnableTooltip - A tooltip displays information while tapping or mouse hovering above a segment. To display the tooltip on a chart, you need to set the EnableTooltip property as true in StackingLine100Series class, and also refer TooltipBehavior property.
Data Label - Data labels are used to display values related to a chart segment. To render the data labels, you need to set the ShowDataLabels property as true in StackingLine100Series class. To customize the chart data labels placement, and label styles, you need to create an instance of CartesianDataLabelSettings and set to the DataLabelSettings property.
Animation - To animate the series, set True to the EnableAnimation property.
LegendIcon - To customize the legend icon using the LegendIcon property.
Examples
<chart:SfCartesianChart>
<chart:SfCartesianChart.XAxes>
<chart:CategoryAxis/>
</chart:SfCartesianChart.XAxes>
<chart:SfCartesianChart.YAxes>
<chart:NumericalAxis/>
</chart:SfCartesianChart.YAxes>
<chart:StackingLine100Series
ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"/>
<chart:StackingLine100Series
ItemsSource="{Binding Data_1}"
XBindingPath="XValue"
YBindingPath="YValue"/>
<chart:StackingLine100Series
ItemsSource="{Binding Data_2}"
XBindingPath="XValue"
YBindingPath="YValue"/>
</chart:SfCartesianChart>
Constructors
StackingLine100Series()
Declaration
public StackingLine100Series()