Xamarin.Forms

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

    Show / Hide Table of Contents

    Class SFCartesianSeries

    Serves as a base class for all cartesian chart types.

    Inheritance
    System.Object
    SFSeries
    SFCartesianSeries
    SFFinancialSeries
    SFRangeSeries
    SFXyDataSeries
    Inherited Members
    SFSeries.InvalidateRender()
    SFSeries.Animate()
    SFSeries.CreateRenderer()
    SFSeries.InsertDataPointAtIndex(nint)
    SFSeries.RemoveDataPointAtIndex(nint)
    SFSeries.ReloadData()
    SFSeries.AnimationForSegment(SFChartSegment)
    SFSeries.DrawLayer(CALayer, CGContext)
    SFSeries.DataPointIndexAtPoint(CGPoint)
    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.GetGradientStartPoint(SFChartSegment)
    SFSeries.GetGradientEndPoint(SFChartSegment)
    SFSeries.OnBindingPathChanged()
    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 abstract class SFCartesianSeries : SFSeries

    Constructors

    SFCartesianSeries()

    Declaration
    protected SFCartesianSeries()

    Properties

    ActualXAxis

    Declaration
    public override SFAxis ActualXAxis { get; }
    Property Value
    Type Description
    SFAxis
    Overrides
    SFSeries.ActualXAxis

    ActualYAxis

    Declaration
    public override SFAxis ActualYAxis { get; }
    Property Value
    Type Description
    SFAxis
    Overrides
    SFSeries.ActualYAxis

    IsTransposed

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

    ShowTrackballInfo

    Gets or sets a value indicating whether to show trackball for cartesian Series.

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

    Trendlines

    Gets or sets a collection of SFChartTrendline for cartesian series..

    Declaration
    public ChartTrendlineCollection Trendlines { get; set; }
    Property Value
    Type Description
    ChartTrendlineCollection
    Remarks

    Trendlines will support all the cartesian series except Bar series.

    XAxis

    Gets or sets an additional horizontal axis for an individual series.

    Declaration
    public SFAxis XAxis { get; set; }
    Property Value
    Type Description
    SFAxis

    YAxis

    Gets or sets an additional vertical axis for an individual series.

    Declaration
    public SFRangeAxisBase YAxis { get; set; }
    Property Value
    Type Description
    SFRangeAxisBase

    Methods

    CalculateControlPoints(Double, Double, Double, Double, Double, Double)

    Declaration
    protected List<double> CalculateControlPoints(double pointX, double pointY, double pointX1, double pointY1, double coefficientY, double coefficientY1)
    Parameters
    Type Name Description
    System.Double pointX
    System.Double pointY
    System.Double pointX1
    System.Double pointY1
    System.Double coefficientY
    System.Double coefficientY1
    Returns
    Type Description
    System.Collections.Generic.List<System.Double>

    CalculateControlPoints(Double, Double, Double, Double, Double, Double, Double)

    Declaration
    protected List<double> CalculateControlPoints(double pointX, double pointY, double pointX1, double pointY1, double coefficientY, double coefficientY1, double dx)
    Parameters
    Type Name Description
    System.Double pointX
    System.Double pointY
    System.Double pointX1
    System.Double pointY1
    System.Double coefficientY
    System.Double coefficientY1
    System.Double dx
    Returns
    Type Description
    System.Collections.Generic.List<System.Double>

    CreateSegment()

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

    CreateSegments()

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

    DrawInContext(CGContext)

    Declaration
    public override void DrawInContext(CGContext context)
    Parameters
    Type Name Description
    CoreGraphics.CGContext context
    Overrides
    SFSeries.DrawInContext(CGContext)

    FindNearestChartPoint(Single, Single)

    Declaration
    public object FindNearestChartPoint(float pointX, float pointY)
    Parameters
    Type Name Description
    System.Single pointX
    System.Single pointY
    Returns
    Type Description
    System.Object

    FindNearestChartPoints(Single, Single)

    Declaration
    public List<object> FindNearestChartPoints(float pointX, float pointY)
    Parameters
    Type Name Description
    System.Single pointX
    System.Single pointY
    Returns
    Type Description
    System.Collections.Generic.List<System.Object>

    GetCardinalSpline(List<Double>, IList<Double>)

    Declaration
    protected double[] GetCardinalSpline(List<double> xValues, IList<double> yValues)
    Parameters
    Type Name Description
    System.Collections.Generic.List<System.Double> xValues
    System.Collections.Generic.IList<System.Double> yValues
    Returns
    Type Description
    System.Double[]

    GetDataPoints(Double, Double, Double, Double)

    Method to get the data points from the given range.

    Declaration
    public List<object> GetDataPoints(double startX, double endX, double startY, double endY)
    Parameters
    Type Name Description
    System.Double startX

    start x

    System.Double endX

    end x

    System.Double startY

    start y

    System.Double endY

    end y

    Returns
    Type Description
    System.Collections.Generic.List<System.Object>

    The data points

    Remarks

    This method will work only after render the series in visual.

    GetDataPoints(RectangleF)

    Method to get the visible range data points.

    Declaration
    public List<object> GetDataPoints(RectangleF rectangle)
    Parameters
    Type Name Description
    System.Drawing.RectangleF rectangle

    The Rectangle.

    Returns
    Type Description
    System.Collections.Generic.List<System.Object>

    The data points.

    Remarks

    This method will work only after render the series in visual.

    GetMonotonicSpline(List<Double>, IList<Double>, out Double[])

    Declaration
    protected double[] GetMonotonicSpline(List<double> xValues, IList<double> yValues, out double[] dx)
    Parameters
    Type Name Description
    System.Collections.Generic.List<System.Double> xValues
    System.Collections.Generic.IList<System.Double> yValues
    System.Double[] dx
    Returns
    Type Description
    System.Double[]

    OnAttachedToChart()

    Declaration
    protected override void OnAttachedToChart()
    Overrides
    SFSeries.OnAttachedToChart()
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved