Class SFChart
Inheritance
System.Object
SFChart
Implements
System.ComponentModel.IComponent
System.IDisposable
Assembly: Syncfusion.SfChart.XForms.macOS.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
Delegate
Declaration
public SFChartDelegate Delegate { get; set; }
Property Value
EdgeInsets
Gets or sets the inset distances for the SFChart view.
Declaration
public NSEdgeInsets 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()
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
Draw(CGRect)
Declaration
public override void Draw(CGRect rect)
Parameters
Type |
Name |
Description |
CoreGraphics.CGRect |
rect |
|
Overrides
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()
Overrides
MouseDown(NSEvent)
Declaration
public override void MouseDown(NSEvent theEvent)
Parameters
Type |
Name |
Description |
AppKit.NSEvent |
theEvent |
|
MouseDragged(NSEvent)
Declaration
public override void MouseDragged(NSEvent theEvent)
Parameters
Type |
Name |
Description |
AppKit.NSEvent |
theEvent |
|
MouseEntered(NSEvent)
Declaration
public override void MouseEntered(NSEvent theEvent)
Parameters
Type |
Name |
Description |
AppKit.NSEvent |
theEvent |
|
MouseExited(NSEvent)
Declaration
public override void MouseExited(NSEvent theEvent)
Parameters
Type |
Name |
Description |
AppKit.NSEvent |
theEvent |
|
MouseMoved(NSEvent)
Declaration
public override void MouseMoved(NSEvent theEvent)
Parameters
Type |
Name |
Description |
AppKit.NSEvent |
theEvent |
|
MouseUp(NSEvent)
Declaration
public override void MouseUp(NSEvent theEvent)
Parameters
Type |
Name |
Description |
AppKit.NSEvent |
theEvent |
|
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 |
|
Declaration
public override void ScrollWheel(NSEvent theEvent)
Parameters
Type |
Name |
Description |
AppKit.NSEvent |
theEvent |
|
SeriesAtIndex(nint)
Declaration
public SFSeries SeriesAtIndex(nint index)
Parameters
Type |
Name |
Description |
System.nint |
index |
|
Returns
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