Class ScatterSeries
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: Com.Syncfusion.Charts
Assembly: Syncfusion.SfChart.Android.dll
Syntax
public class ScatterSeries : XyDataSeries
Remarks
ScatterSeries 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
ScatterSeries()
Initializes a new instance of the ScatterSeries class.
Declaration
public ScatterSeries()
Properties
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
Type |
---|
ChartScatterShapeType |
StrokeColor
Gets or sets the color for the series stroke.
Declaration
public Color StrokeColor { get; set; }
Property Value
Type |
---|
Android.Graphics.Color |
Methods
CreateSegment()
Create the ScatterSegment.
Declaration
protected override ChartSegment CreateSegment()
Returns
Type | Description |
---|---|
ChartSegment | Returns a segment. |
Overrides
CreateSegments()
Creates the segments of ScatterSeries.
Declaration
protected override void CreateSegments()
Overrides
GetGradientEndPoint(ChartSegment)
Declaration
protected override PointF GetGradientEndPoint(ChartSegment segment)
Parameters
Type | Name | Description |
---|---|---|
ChartSegment | segment |
Returns
Type |
---|
Android.Graphics.PointF |
Overrides
GetGradientStartPoint(ChartSegment)
Declaration
protected override PointF GetGradientStartPoint(ChartSegment segment)
Parameters
Type | Name | Description |
---|---|---|
ChartSegment | segment |
Returns
Type |
---|
Android.Graphics.PointF |