menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfChartRenderer - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SfChartRenderer

    Inheritance
    System.Object
    SfChartRenderer
    Namespace: Syncfusion.SfChart.XForms.MacOS
    Assembly: Syncfusion.SfChart.XForms.macOS.dll
    Syntax
    public class SfChartRenderer : ViewRenderer<SfChart, SFChart>

    Constructors

    SfChartRenderer()

    Declaration
    public SfChartRenderer()

    Methods

    Convert(View, VisualElement)

    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

    CreateNativeChart()

    Declaration
    public virtual SFChart CreateNativeChart()
    Returns
    Type
    SFChart

    DateTimeToNSDate(DateTime)

    Declaration
    public static NSDate DateTimeToNSDate(DateTime date)
    Parameters
    Type Name Description
    System.DateTime date
    Returns
    Type
    Foundation.NSDate

    Dispose(Boolean)

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

    GenerateNativeChartDataPoint(ChartDataPoint, SFChartDataPoint)

    Declaration
    public static void GenerateNativeChartDataPoint(ChartDataPoint point, SFChartDataPoint dataPoint)
    Parameters
    Type Name Description
    ChartDataPoint point
    SFChartDataPoint dataPoint

    GetNativeChartDataPoint(ChartDataPoint)

    Declaration
    public static SFChartDataPoint GetNativeChartDataPoint(ChartDataPoint point)
    Parameters
    Type Name Description
    ChartDataPoint point
    Returns
    Type
    SFChartDataPoint

    GetNativeDashArrays(Double[])

    Declaration
    public static NSArray GetNativeDashArrays(double[] formsDashes)
    Parameters
    Type Name Description
    System.Double[] formsDashes
    Returns
    Type
    Foundation.NSArray

    GetNativeDate(DateTime)

    Declaration
    public static NSDate GetNativeDate(DateTime dateTime)
    Parameters
    Type Name Description
    System.DateTime dateTime
    Returns
    Type
    Foundation.NSDate

    GetNativeFont(Single, String, FontAttributes)

    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
    Type
    AppKit.NSFont

    GetNativeFont(Font)

    Declaration
    public static NSFont GetNativeFont(Font font)
    Parameters
    Type Name Description
    Xamarin.Forms.Font font
    Returns
    Type
    AppKit.NSFont

    GetNativeObject(Type, Object)

    Declaration
    public static object GetNativeObject(Type type, object obj)
    Parameters
    Type Name Description
    System.Type type
    System.Object obj
    Returns
    Type
    System.Object

    GetPropertiesChanged(Type, Object)

    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>

    GetWindowsColor(Color)

    Declaration
    public static NSColor GetWindowsColor(Color color)
    Parameters
    Type Name Description
    Xamarin.Forms.Color color
    Returns
    Type
    AppKit.NSColor

    GetXValue(IComparable)

    Declaration
    public static object GetXValue(IComparable xValue)
    Parameters
    Type Name Description
    System.IComparable xValue
    Returns
    Type
    System.Object

    Init()

    Declaration
    public static void Init()

    NSDateToDateTime(NSDate)

    Declaration
    public static DateTime NSDateToDateTime(NSDate date)
    Parameters
    Type Name Description
    Foundation.NSDate date
    Returns
    Type
    System.DateTime

    NSObjectToConvertObject(NSObject, Type)

    Declaration
    public static object NSObjectToConvertObject(NSObject object_NS, Type targetType)
    Parameters
    Type Name Description
    Foundation.NSObject object_NS
    System.Type targetType
    Returns
    Type
    System.Object

    OnElementChanged(ElementChangedEventArgs<SfChart>)

    Declaration
    protected override void OnElementChanged(ElementChangedEventArgs<SfChart> e)
    Parameters
    Type Name Description
    Xamarin.Forms.Platform.MacOS.ElementChangedEventArgs<SfChart> e

    OnElementPropertyChanged(Object, PropertyChangedEventArgs)

    Declaration
    protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.Object sender
    System.ComponentModel.PropertyChangedEventArgs e

    SetNativeObject(Type, Object, Object)

    Declaration
    public static void SetNativeObject(Type type, object obj, object nativeObject)
    Parameters
    Type Name Description
    System.Type type
    System.Object obj
    System.Object nativeObject
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved