Class SFChart
Inheritance
System.Object
SFChart
Implements
System.ComponentModel.IComponent
System.IDisposable
Assembly: Syncfusion.SFChart.iOS.dll
Syntax
public class SFChart : ChartBase, IComponent, IDisposable
Constructors
SFChart()
Declaration
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
DataSource
Declaration
public SFChartDataSource DataSource { get; set; }
Property Value
Delegate
Declaration
public SFChartDelegate Delegate { get; set; }
Property Value
EdgeInsets
Gets or sets the inset distances for the SFChart view.
Declaration
public UIEdgeInsets EdgeInsets { get; set; }
Property Value
Legend
Gets a legend that helps to identify the series in the SFChart.
Declaration
public SFChartLegend Legend { get; }
Property Value
SeriesClipRect
Gets the bounds of the plotting area.
Declaration
public CGRect SeriesClipRect { get; }
Property Value
Site
Declaration
public ISite Site { get; set; }
Property Value
| Type |
| 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
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
Returns
IndexOfSeries(SFSeries)
Declaration
public nint IndexOfSeries(SFSeries series)
Parameters
Returns
IndicatorAtIndex(nint)
Declaration
public SFTechnicalIndicator IndicatorAtIndex(nint index)
Parameters
| Type |
Name |
Description |
| System.nint |
index |
|
Returns
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
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
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
ValueForPoint(CGPoint, SFAxis)
Declaration
public double ValueForPoint(CGPoint point, SFAxis axis)
Parameters
| Type |
Name |
Description |
| CoreGraphics.CGPoint |
point |
|
| SFAxis |
axis |
|
Returns
Events
Disposed
Declaration
public event EventHandler Disposed
Event Type
Implements
System.ComponentModel.IComponent
System.IDisposable