Xamarin.iOS

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SFChart - Xamarin.iOS API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SFChart

    Inheritance
    System.Object
    ChartBase
    SFChart
    Implements
    System.ComponentModel.IComponent
    System.IDisposable
    Inherited Members
    ChartBase.SuspendSeriesNotification()
    ChartBase.ResumeSeriesNotification()
    ChartBase.Axes
    ChartBase.AreaBackgroundColor
    ChartBase.AreaBorderColor
    ChartBase.AreaBorderWidth
    ChartBase.Title
    ChartBase.ColorModel
    ChartBase.SideBySideSeriesPlacement
    ChartBase.SeriesBounds
    ChartBase.Series
    ChartBase.EnableSeriesSelection
    ChartBase.SeriesSelectionColor
    ChartBase.Annotations
    ChartBase.TechnicalIndicators
    ChartBase.PrimaryAxis
    ChartBase.SecondaryAxis
    ChartBase.Behaviors
    ChartBase.AnnotationClicked
    ChartBase.LegendItemClicked
    ChartBase.LegendItemCreated
    ChartBase.SeriesRendered
    Namespace: Syncfusion.SfChart.iOS
    Assembly: Syncfusion.SFChart.iOS.dll
    Syntax
    public class SFChart : ChartBase, IComponent, IDisposable

    Constructors

    SFChart()

    Declaration
    public SFChart()

    SFChart(IntPtr)

    Declaration
    public SFChart(IntPtr handle)
    Parameters
    Type Name Description
    System.IntPtr handle

    Properties

    ChartClipRect

    Gets the bounds of the chart.

    Declaration
    public CGRect ChartClipRect { get; }
    Property Value
    Type Description
    CoreGraphics.CGRect

    DataSource

    Declaration
    public SFChartDataSource DataSource { get; set; }
    Property Value
    Type Description
    SFChartDataSource

    Delegate

    Declaration
    public SFChartDelegate Delegate { get; set; }
    Property Value
    Type Description
    SFChartDelegate

    EdgeInsets

    Gets or sets the inset distances for the SFChart view.

    Declaration
    public UIEdgeInsets EdgeInsets { get; set; }
    Property Value
    Type Description
    UIKit.UIEdgeInsets

    Legend

    Gets a legend that helps to identify the series in the SFChart.

    Declaration
    public SFChartLegend Legend { get; }
    Property Value
    Type Description
    SFChartLegend

    SeriesClipRect

    Gets the bounds of the plotting area.

    Declaration
    public CGRect SeriesClipRect { get; }
    Property Value
    Type Description
    CoreGraphics.CGRect

    Site

    Declaration
    public ISite Site { get; set; }
    Property Value
    Type Description
    System.ComponentModel.ISite

    Methods

    AddChartBehavior(SFChartBehavior)

    Attaches a chart behavior to the SfChart view.

    Declaration
    public void AddChartBehavior(SFChartBehavior behavior)
    Parameters
    Type Name Description
    SFChartBehavior behavior

    An object whose class descends from the ChartBehavior class. This parameter must not be null..

    AnimateIndicators()

    Declaration
    public void AnimateIndicators()

    AnimateSeries()

    Declaration
    public void AnimateSeries()

    AwakeFromNib()

    Declaration
    public override void AwakeFromNib()

    ClearAllIndicators()

    Declaration
    public void ClearAllIndicators()

    ClearChartBehaviors()

    Detaches all chart behavior from the SfChart view.

    Declaration
    public void ClearChartBehaviors()

    CoefficientForValue(Double, SFAxis)

    Declaration
    public double CoefficientForValue(double value, SFAxis axis)
    Parameters
    Type Name Description
    System.Double value
    SFAxis axis
    Returns
    Type Description
    System.Double

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Draw(CGRect)

    Declaration
    public override void Draw(CGRect rect)
    Parameters
    Type Name Description
    CoreGraphics.CGRect rect

    IndexOfIndicator(SFTechnicalIndicator)

    Declaration
    public nint IndexOfIndicator(SFTechnicalIndicator indicator)
    Parameters
    Type Name Description
    SFTechnicalIndicator indicator
    Returns
    Type Description
    System.nint

    IndexOfSeries(SFSeries)

    Declaration
    public nint IndexOfSeries(SFSeries series)
    Parameters
    Type Name Description
    SFSeries series
    Returns
    Type Description
    System.nint

    IndicatorAtIndex(nint)

    Declaration
    public SFTechnicalIndicator IndicatorAtIndex(nint index)
    Parameters
    Type Name Description
    System.nint index
    Returns
    Type Description
    SFTechnicalIndicator

    InsertDataPointAtIndex(nint, nint)

    Declaration
    public void InsertDataPointAtIndex(nint index, nint seriesIndex)
    Parameters
    Type Name Description
    System.nint index
    System.nint seriesIndex

    InsertDataPointInIndicatorAtIndex(nint, nint)

    Declaration
    public void InsertDataPointInIndicatorAtIndex(nint index, nint indicatorIndex)
    Parameters
    Type Name Description
    System.nint index
    System.nint indicatorIndex

    LayoutSubviews()

    Declaration
    public override void LayoutSubviews()

    PointForValue(Double, SFAxis)

    Declaration
    public double PointForValue(double value, SFAxis axis)
    Parameters
    Type Name Description
    System.Double value
    SFAxis axis
    Returns
    Type Description
    System.Double

    ReloadData()

    Declaration
    public virtual void ReloadData()

    RemoveChartBehavior(SFChartBehavior)

    Detaches a chart behavior to the SfChart view.

    Declaration
    public void RemoveChartBehavior(SFChartBehavior behavior)
    Parameters
    Type Name Description
    SFChartBehavior behavior

    An object whose class descends from the ChartBehavior class.

    RemoveDataPointAtIndex(nint, nint)

    Declaration
    public void RemoveDataPointAtIndex(nint index, nint seriesIndex)
    Parameters
    Type Name Description
    System.nint index
    System.nint seriesIndex

    RemoveDataPointInIndicatorAtIndex(nint, nint)

    Declaration
    public void RemoveDataPointInIndicatorAtIndex(nint index, nint indicatorIndex)
    Parameters
    Type Name Description
    System.nint index
    System.nint indicatorIndex

    RemoveIndicatorAtIndex(nint)

    Declaration
    public void RemoveIndicatorAtIndex(nint indicatorIndex)
    Parameters
    Type Name Description
    System.nint indicatorIndex

    SeriesAtIndex(nint)

    Declaration
    public SFSeries SeriesAtIndex(nint index)
    Parameters
    Type Name Description
    System.nint index
    Returns
    Type Description
    SFSeries

    TouchesBegan(NSSet, UIEvent)

    Declaration
    public override void TouchesBegan(NSSet touches, UIEvent evt)
    Parameters
    Type Name Description
    Foundation.NSSet touches
    UIKit.UIEvent evt

    TouchesCancelled(NSSet, UIEvent)

    Declaration
    public override void TouchesCancelled(NSSet touches, UIEvent evt)
    Parameters
    Type Name Description
    Foundation.NSSet touches
    UIKit.UIEvent evt

    TouchesEnded(NSSet, UIEvent)

    Declaration
    public override void TouchesEnded(NSSet touches, UIEvent evt)
    Parameters
    Type Name Description
    Foundation.NSSet touches
    UIKit.UIEvent evt

    TouchesMoved(NSSet, UIEvent)

    Declaration
    public override void TouchesMoved(NSSet touches, UIEvent evt)
    Parameters
    Type Name Description
    Foundation.NSSet touches
    UIKit.UIEvent evt

    ValueForCoefficient(Double, SFAxis)

    Declaration
    public double ValueForCoefficient(double value, SFAxis axis)
    Parameters
    Type Name Description
    System.Double value
    SFAxis axis
    Returns
    Type Description
    System.Double

    ValueForPoint(CGPoint, SFAxis)

    Declaration
    public double ValueForPoint(CGPoint point, SFAxis axis)
    Parameters
    Type Name Description
    CoreGraphics.CGPoint point
    SFAxis axis
    Returns
    Type Description
    System.Double

    Events

    Disposed

    Declaration
    public event EventHandler Disposed
    Event Type
    Type Description
    System.EventHandler

    Implements

    System.ComponentModel.IComponent
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved