Class SfChartRenderer
Inheritance
System.Object
SfChartRenderer
Assembly: Syncfusion.SfChart.XForms.macOS.dll
public class SfChartRenderer : ViewRenderer<SfChart, SFChart>
Constructors
Declaration
Methods
Declaration
public static IVisualElementRenderer Convert(View source, VisualElement valid)
Parameters
Type |
Name |
Description |
Xamarin.Forms.View |
source |
|
Xamarin.Forms.VisualElement |
valid |
|
Returns
Type |
Xamarin.Forms.Platform.MacOS.IVisualElementRenderer |
Declaration
public virtual SFChart CreateNativeChart()
Returns
Declaration
public static NSDate DateTimeToNSDate(DateTime date)
Parameters
Type |
Name |
Description |
System.DateTime |
date |
|
Returns
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Declaration
public static void GenerateNativeChartDataPoint(ChartDataPoint point, SFChartDataPoint dataPoint)
Parameters
Declaration
public static SFChartDataPoint GetNativeChartDataPoint(ChartDataPoint point)
Parameters
Returns
Declaration
public static NSArray GetNativeDashArrays(double[] formsDashes)
Parameters
Type |
Name |
Description |
System.Double[] |
formsDashes |
|
Returns
Declaration
public static NSDate GetNativeDate(DateTime dateTime)
Parameters
Type |
Name |
Description |
System.DateTime |
dateTime |
|
Returns
Declaration
public static NSFont GetNativeFont(float fontSize, string fontFamily, FontAttributes fontAttributes)
Parameters
Type |
Name |
Description |
System.Single |
fontSize |
|
System.String |
fontFamily |
|
Xamarin.Forms.FontAttributes |
fontAttributes |
|
Returns
Declaration
public static NSFont GetNativeFont(Font font)
Parameters
Type |
Name |
Description |
Xamarin.Forms.Font |
font |
|
Returns
Declaration
public static object GetNativeObject(Type type, object obj)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
System.Object |
obj |
|
Returns
Declaration
public static List<string> GetPropertiesChanged(Type type, object obj)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
System.Object |
obj |
|
Returns
Type |
System.Collections.Generic.List<System.String> |
Declaration
public static NSColor GetWindowsColor(Color color)
Parameters
Type |
Name |
Description |
Xamarin.Forms.Color |
color |
|
Returns
Declaration
public static object GetXValue(IComparable xValue)
Parameters
Type |
Name |
Description |
System.IComparable |
xValue |
|
Returns
Declaration
public static void Init()
Declaration
public static DateTime NSDateToDateTime(NSDate date)
Parameters
Type |
Name |
Description |
Foundation.NSDate |
date |
|
Returns
Declaration
public static object NSObjectToConvertObject(NSObject object_NS, Type targetType)
Parameters
Type |
Name |
Description |
Foundation.NSObject |
object_NS |
|
System.Type |
targetType |
|
Returns
Declaration
protected override void OnElementChanged(ElementChangedEventArgs<SfChart> e)
Parameters
Type |
Name |
Description |
Xamarin.Forms.Platform.MacOS.ElementChangedEventArgs<SfChart> |
e |
|
Declaration
protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.ComponentModel.PropertyChangedEventArgs |
e |
|
Declaration
public static void SetNativeObject(Type type, object obj, object nativeObject)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
System.Object |
obj |
|
System.Object |
nativeObject |
|