Class SFScatterSeries
Represents a scatter chart. To render this chart, create an instance of this class and add it to Series collection property and set the required properties.
Inherited Members
Namespace: Syncfusion.SfChart.iOS
Assembly: Syncfusion.SFChart.iOS.dll
Syntax
public class SFScatterSeries : SFXyDataSeries
Remarks
SFScatterSeries 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
SFScatterSeries()
Initializes a new instance of the SFScatterSeries class.
Declaration
public SFScatterSeries()
Properties
BorderColor
Gets or sets the border color of the series.
Declaration
public UIColor BorderColor { get; set; }
Property Value
Type |
---|
UIKit.UIColor |
BorderWidth
Gets or sets the border width of the series.
Declaration
public nfloat BorderWidth { get; set; }
Property Value
Type |
---|
System.nfloat |
ScatterHeight
Gets or sets the scatter segment height.
Declaration
public float ScatterHeight { get; set; }
Property Value
Type |
---|
System.Single |
ScatterWidth
Gets or sets the scatter segment width.
Declaration
public float ScatterWidth { get; set; }
Property Value
Type |
---|
System.Single |
ShapeType
Gets or sets different types of shape in a ScatterSeries.
Declaration
public ChartScatterShapeType ShapeType { get; set; }
Property Value
StrokeColor
Gets or sets the color for the series stroke.
Declaration
public UIColor StrokeColor { get; set; }
Property Value
Type |
---|
UIKit.UIColor |
Methods
AnimationForSegment(SFChartSegment)
Declaration
protected override CAAnimation AnimationForSegment(SFChartSegment segment)
Parameters
Type | Name | Description |
---|---|---|
SFChartSegment | segment |
Returns
Type |
---|
CoreAnimation.CAAnimation |
Overrides
CreateSegment()
Create the SFScatterSegment.
Declaration
protected override SFChartSegment CreateSegment()
Returns
Type | Description |
---|---|
SFChartSegment | Returns a segment. |
Overrides
CreateSegments()
Creates the segments of
Declaration
public override void CreateSegments()
Overrides
GetGradientEndPoint(SFChartSegment)
Declaration
protected override CGPoint GetGradientEndPoint(SFChartSegment segment)
Parameters
Type | Name | Description |
---|---|---|
SFChartSegment | segment |
Returns
Type |
---|
CoreGraphics.CGPoint |
Overrides
GetGradientStartPoint(SFChartSegment)
Declaration
protected override CGPoint GetGradientStartPoint(SFChartSegment segment)
Parameters
Type | Name | Description |
---|---|---|
SFChartSegment | segment |
Returns
Type |
---|
CoreGraphics.CGPoint |