Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SFFastScatterSeries

    Show / Hide Table of Contents

    Class SFFastScatterSeries

    To render fast scatter chart, create an instance of this class and add it to Series the collection property. This series is optimized to render huge data.

    Inheritance
    System.Object
    SFSeries
    SFCartesianSeries
    SFXyDataSeries
    SFFastScatterSeries
    Inherited Members
    SFXyDataSeries.OnBindingPathChanged()
    SFXyDataSeries.YBindingPath
    SFCartesianSeries.DrawInContext(CGContext)
    SFCartesianSeries.OnAttachedToChart()
    SFCartesianSeries.FindNearestChartPoint(Single, Single)
    SFCartesianSeries.FindNearestChartPoints(Single, Single)
    SFCartesianSeries.GetCardinalSpline(List<Double>, IList<Double>)
    SFCartesianSeries.CalculateControlPoints(Double, Double, Double, Double, Double, Double)
    SFCartesianSeries.CalculateControlPoints(Double, Double, Double, Double, Double, Double, Double)
    SFCartesianSeries.GetMonotonicSpline(List<Double>, IList<Double>, Double[])
    SFCartesianSeries.GetDataPoints(RectangleF)
    SFCartesianSeries.GetDataPoints(Double, Double, Double, Double)
    SFCartesianSeries.IsTransposed
    SFCartesianSeries.Trendlines
    SFCartesianSeries.XAxis
    SFCartesianSeries.YAxis
    SFCartesianSeries.ShowTrackballInfo
    SFCartesianSeries.ActualXAxis
    SFCartesianSeries.ActualYAxis
    SFSeries.InvalidateRender()
    SFSeries.Animate()
    SFSeries.CreateRenderer()
    SFSeries.InsertDataPointAtIndex(nint)
    SFSeries.RemoveDataPointAtIndex(nint)
    SFSeries.ReloadData()
    SFSeries.DrawLayer(CALayer, CGContext)
    SFSeries.DrawMarker(CGContext, Double, Double, Int32)
    SFSeries.DrawLabel(NSString, CGContext, Double, Double, Int32)
    SFSeries.DrawConnectorLine(CGContext, Double, Double, Double, Double, NSColor, Int32)
    SFSeries.GeneratePoints(String[], IList<Double>[])
    SFSeries.ScheduleUpdateArea()
    SFSeries.GetSelectionColor()
    SFSeries.SetIndividualPoint(Int32, Object, Boolean)
    SFSeries.ClearUnUsedDataMarkerLabels(Int32)
    SFSeries.SeriesContainsPoint(CGPoint)
    SFSeries.OnDetachedFromChart()
    SFSeries.SetFillColor(SFChartSegment)
    SFSeries.SetStrokeWidth(SFChartSegment)
    SFSeries.SuspendNotification()
    SFSeries.ResumeNotification()
    SFSeries.EnableTooltip
    SFSeries.LegendIcon
    SFSeries.EnableDataPointSelection
    SFSeries.Visible
    SFSeries.VisibleOnLegend
    SFSeries.LayerFrame
    SFSeries.ListenPropertyChange
    SFSeries.DataMarker
    SFSeries.EnableAnimation
    SFSeries.AnimationDuration
    SFSeries.IsSelected
    SFSeries.SelectedDataPointIndex
    SFSeries.SelectedDataPointColor
    SFSeries.DataCount
    SFSeries.Name
    SFSeries.Color
    SFSeries.Alpha
    SFSeries.Label
    SFSeries.ItemsSource
    SFSeries.XBindingPath
    SFSeries.ColorModel
    SFSeries.XRange
    SFSeries.YRange
    SFSeries.Segments
    SFSeries.DataMarkerLabelCreated
    Namespace: Syncfusion.MacOS.Charts.SfChart
    Assembly: Syncfusion.SfChart.XForms.macOS.dll
    Syntax
    public class SFFastScatterSeries : SFXyDataSeries
    Remarks

    SFFastScatterSeries requires to set the ItemsSource, XBindingPath and YBindingPath properties to render the chart. This series also requires x and y-axes to be explicitly set either using PrimaryAxis and SecondaryAxis or XAxis and YAxis.

    Constructors

    SFFastScatterSeries()

    Initializes a new instance of the SFFastScatterSeries class.

    Declaration
    public SFFastScatterSeries()

    Properties

    EnableAntiAliasing

    Gets or sets a value indicating whether to enable anti-aliasing for fast scatter series.

    Declaration
    public bool EnableAntiAliasing { get; set; }
    Property Value
    Type Description
    System.Boolean

    This property takes the boolean value and its default value is true.

    ScatterHeight

    Gets or sets the height of the fast scatter series.

    Declaration
    public double ScatterHeight { get; set; }
    Property Value
    Type Description
    System.Double

    This property takes the double value and its default value is 4 for Android, 8 for iOS and macOS platforms.

    ScatterWidth

    Gets or sets the width of the fast scatter series.

    Declaration
    public double ScatterWidth { get; set; }
    Property Value
    Type Description
    System.Double

    This property takes the double value and its default value is 4 for Android, 8 for iOS and macOS platforms.

    ShapeType

    Gets or sets different types of shapes in a fast scatter series.

    Declaration
    public ChartScatterShapeType ShapeType { get; set; }
    Property Value
    Type Description
    ChartScatterShapeType

    This property takes fast scatter shape value and its default shape type is ellipse.

    StrokeColor

    Gets or sets the color for the series stroke.

    Declaration
    public NSColor StrokeColor { get; set; }
    Property Value
    Type Description
    AppKit.NSColor

    This property takes the color value.

    Methods

    AnimationForSegment(SFChartSegment)

    Declaration
    protected override CAAnimation AnimationForSegment(SFChartSegment segment)
    Parameters
    Type Name Description
    SFChartSegment segment
    Returns
    Type Description
    CoreAnimation.CAAnimation
    Overrides
    SFSeries.AnimationForSegment(SFChartSegment)

    CreateSegment()

    Declaration
    protected override SFChartSegment CreateSegment()
    Returns
    Type Description
    SFChartSegment
    Overrides
    SFCartesianSeries.CreateSegment()

    CreateSegments()

    Declaration
    public override void CreateSegments()
    Overrides
    SFCartesianSeries.CreateSegments()

    DataPointIndexAtPoint(CGPoint)

    Declaration
    public override int DataPointIndexAtPoint(CGPoint hitPoint)
    Parameters
    Type Name Description
    CoreGraphics.CGPoint hitPoint
    Returns
    Type Description
    System.Int32
    Overrides
    SFSeries.DataPointIndexAtPoint(CGPoint)

    GetGradientEndPoint(SFChartSegment)

    Declaration
    protected override CGPoint GetGradientEndPoint(SFChartSegment segment)
    Parameters
    Type Name Description
    SFChartSegment segment
    Returns
    Type Description
    CoreGraphics.CGPoint
    Overrides
    SFSeries.GetGradientEndPoint(SFChartSegment)

    GetGradientStartPoint(SFChartSegment)

    Declaration
    protected override CGPoint GetGradientStartPoint(SFChartSegment segment)
    Parameters
    Type Name Description
    SFChartSegment segment
    Returns
    Type Description
    CoreGraphics.CGPoint
    Overrides
    SFSeries.GetGradientStartPoint(SFChartSegment)
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved