Class SFColumnSeries
Represents a column chart. To render column chart, create an instance of this class and add it to Series collection property and set the required properties.
Inherited Members
Namespace: Syncfusion.MacOS.Charts.SfChart
Assembly: Syncfusion.SfChart.XForms.macOS.dll
Syntax
public class SFColumnSeries : SFXyDataSeries
Remarks
SFColumnSeries 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
SFColumnSeries()
Initializes a new instance of the SFColumnSeries class.
Declaration
public SFColumnSeries()
Properties
BorderColor
Gets or sets the color of the series border.
Declaration
public NSColor BorderColor { get; set; }
Property Value
Type |
---|
AppKit.NSColor |
BorderWidth
Gets or sets the width of the series border.
Declaration
public nfloat BorderWidth { get; set; }
Property Value
Type |
---|
System.nfloat |
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 marker position on the segment.
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 |
StrokeColor
Gets or sets the color for the series stroke.
Declaration
public NSColor StrokeColor { get; set; }
Property Value
Type |
---|
AppKit.NSColor |
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 SFColumnSegment.
Declaration
protected override SFChartSegment CreateSegment()
Returns
Type | Description |
---|---|
SFChartSegment | Returns a segment. |
Overrides
CreateSegments()
Creates the segments of SFColumnSeries.
Declaration
public override void CreateSegments()