Class SFStackingBarSeries
Represents a stacked bar chart. To render this chart, create an instance of this class and add it to Series collection property and set the required properties.
Inheritance
Inherited Members
Namespace: Syncfusion.MacOS.Charts.SfChart
Assembly: Syncfusion.SfChart.XForms.macOS.dll
Syntax
public class SFStackingBarSeries : SFStackingSeries
Remarks
SFStackingBarSeries is the transposed version of SFStackingColumnSeries. Unlike other cartesian chart types, to plot SFStackingBarSeries, x-axis will be rendered vertically and y-axis will be rendered horizontally. Hence, it is not possible to plot other chart types along with SFStackingBarSeries. Multiple SFStackingBarSeries can be added in a single SFChart. SFStackingBarSeries requires ItemsSource, XBindingPath and YBindingPath properties to be set to render the chart. This series also requires x-axis and y-axis to be explicitly set either using PrimaryAxis and SecondaryAxis or XAxis and YAxis.
Constructors
SFStackingBarSeries()
Initializes a new instance of the SFStackingBarSeries class.
Declaration
public SFStackingBarSeries()
Properties
CornerRadius
Gets or sets the value to draw rounded corners of the segments by using ChartCornerRadius.
Declaration
public ChartCornerRadius CornerRadius { get; set; }
Property Value
Type |
---|
ChartCornerRadius |
DataMarkerPosition
Gets or sets the data marker position.
Declaration
public SFChartDataMarkerPosition DataMarkerPosition { get; set; }
Property Value
Type |
---|
SFChartDataMarkerPosition |
Spacing
Gets or sets the spacing between the segments.
Declaration
public double Spacing { get; set; }
Property Value
Type |
---|
System.Double |
Width
Gets or sets the width of the segments.
Declaration
public double Width { get; set; }
Property Value
Type |
---|
System.Double |
Methods
AnimationForSegment(SFChartSegment)
Declaration
protected override CAAnimation AnimationForSegment(SFChartSegment segment)
Parameters
Type | Name | Description |
---|---|---|
SFChartSegment | segment |
Returns
Type |
---|
CoreAnimation.CAAnimation |
Overrides
CreateSegment()
Create the SFBarSegment.
Declaration
protected override SFChartSegment CreateSegment()
Returns
Type | Description |
---|---|
SFChartSegment | Returns a segment. |
Overrides
CreateSegments()
Creates the segments of
Declaration
public override void CreateSegments()