menu

Xamarin.Android

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

    Show / Hide Table of Contents

    Class SfChart

    Inheritance
    System.Object
    ChartBase
    SfChart
    Inherited Members
    ChartBase.AnnotationClicked
    ChartBase.Annotations
    ChartBase.AreaBackgroundColor
    ChartBase.AreaBorderColor
    ChartBase.AreaBorderWidth
    ChartBase.Axes
    ChartBase.Behaviors
    ChartBase.ColorModel
    ChartBase.EnableSeriesSelection
    ChartBase.LegendItemClicked
    ChartBase.LegendItemCreated
    ChartBase.OnMeasureChart()
    ChartBase.PrimaryAxis
    ChartBase.RedrawChart()
    ChartBase.ReloadChart()
    ChartBase.ResumeSeriesNotification()
    ChartBase.SecondaryAxis
    ChartBase.Series
    ChartBase.SeriesBounds
    ChartBase.SeriesRendered
    ChartBase.SeriesSelectionColor
    ChartBase.SideBySideSeriesPlacement
    ChartBase.SuspendSeriesNotification()
    ChartBase.TechnicalIndicators
    ChartBase.Title
    ChartBase.ValueToPoint(ChartAxis, Double)
    Namespace: Com.Syncfusion.Charts
    Assembly: Syncfusion.SfChart.Android.dll
    Syntax
    public class SfChart : ChartBase

    Constructors

    SfChart(Context)

    Declaration
    public SfChart(Context context)
    Parameters
    Type Name Description
    Android.Content.Context context

    SfChart(Context, IAttributeSet)

    Declaration
    public SfChart(Context context, IAttributeSet attribute)
    Parameters
    Type Name Description
    Android.Content.Context context
    Android.Util.IAttributeSet attribute

    SfChart(Context, IAttributeSet, Int32)

    Declaration
    public SfChart(Context context, IAttributeSet attribute, int defaultStyleAttribute)
    Parameters
    Type Name Description
    Android.Content.Context context
    Android.Util.IAttributeSet attribute
    System.Int32 defaultStyleAttribute

    SfChart(Context, IAttributeSet, Int32, Int32)

    Declaration
    public SfChart(Context context, IAttributeSet attribute, int defaultStyleAttribute, int defaultStyleResource)
    Parameters
    Type Name Description
    Android.Content.Context context
    Android.Util.IAttributeSet attribute
    System.Int32 defaultStyleAttribute
    System.Int32 defaultStyleResource

    SfChart(IntPtr, JniHandleOwnership)

    Declaration
    public SfChart(IntPtr javaReference, JniHandleOwnership transfer)
    Parameters
    Type Name Description
    System.IntPtr javaReference
    Android.Runtime.JniHandleOwnership transfer

    Properties

    ChartPaddingBottom

    Gets or sets the bottom padding of the chart.

    Declaration
    public int ChartPaddingBottom { get; set; }
    Property Value
    Type Description
    System.Int32

    Default int value of this property is 10

    ChartPaddingLeft

    Gets or sets the left side padding of the chart.

    Declaration
    public int ChartPaddingLeft { get; set; }
    Property Value
    Type Description
    System.Int32

    Default int value of this property is 10

    ChartPaddingRight

    Gets or sets the right side padding of the chart.

    Declaration
    public int ChartPaddingRight { get; set; }
    Property Value
    Type Description
    System.Int32

    Default int value of this property is 10

    ChartPaddingTop

    Gets or sets the top padding of the chart.

    Declaration
    public int ChartPaddingTop { get; set; }
    Property Value
    Type Description
    System.Int32

    Default int value of this property is 10

    Legend

    Gets the chart legend that helps to identify the series in the chart.

    Declaration
    public ChartLegend Legend { get; }
    Property Value
    Type
    ChartLegend

    SeriesClipRect

    Gets the bounds of the plotting area.

    Declaration
    public RectF SeriesClipRect { get; }
    Property Value
    Type
    Android.Graphics.RectF

    Methods

    Dispose(Boolean)

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

    OnMeasure(Int32, Int32)

    Declaration
    protected override void OnMeasure(int widthMeasureSpec, int heightMeasureSpec)
    Parameters
    Type Name Description
    System.Int32 widthMeasureSpec
    System.Int32 heightMeasureSpec

    PointToValue(ChartAxis, PointF)

    Method used to get exact axis value in hit point.

    Declaration
    public float PointToValue(ChartAxis axis, PointF point)
    Parameters
    Type Name Description
    ChartAxis axis
    Android.Graphics.PointF point
    Returns
    Type
    System.Single

    Events

    LabelsGenerated

    Declaration
    public event EventHandler<SfChart.LabelsGeneratedEventArgs> LabelsGenerated
    Event Type
    Type
    System.EventHandler<SfChart.LabelsGeneratedEventArgs>

    ResetZoom

    Declaration
    public event EventHandler<SfChart.ResetZoomEventArgs> ResetZoom
    Event Type
    Type
    System.EventHandler<SfChart.ResetZoomEventArgs>

    Scroll

    Declaration
    public event EventHandler<SfChart.ScrollEventArgs> Scroll
    Event Type
    Type
    System.EventHandler<SfChart.ScrollEventArgs>

    SelectionChanged

    Declaration
    public event EventHandler<SfChart.SelectionChangedEventArgs> SelectionChanged
    Event Type
    Type
    System.EventHandler<SfChart.SelectionChangedEventArgs>

    SelectionChanging

    Declaration
    public event EventHandler<SfChart.SelectionChangingEventArgs> SelectionChanging
    Event Type
    Type
    System.EventHandler<SfChart.SelectionChangingEventArgs>

    SelectionZoomDelta

    Declaration
    public event EventHandler<SfChart.SelectionZoomDeltaEventArgs> SelectionZoomDelta
    Event Type
    Type
    System.EventHandler<SfChart.SelectionZoomDeltaEventArgs>

    SelectionZoomEnd

    Declaration
    public event EventHandler<SfChart.SelectionZoomEndEventArgs> SelectionZoomEnd
    Event Type
    Type
    System.EventHandler<SfChart.SelectionZoomEndEventArgs>

    SelectionZoomStart

    Declaration
    public event EventHandler<SfChart.SelectionZoomStartEventArgs> SelectionZoomStart
    Event Type
    Type
    System.EventHandler<SfChart.SelectionZoomStartEventArgs>

    TooltipCreated

    Declaration
    public event EventHandler<SfChart.TooltipCreatedEventArgs> TooltipCreated
    Event Type
    Type
    System.EventHandler<SfChart.TooltipCreatedEventArgs>

    TooltipDismiss

    Declaration
    public event EventHandler<SfChart.TooltipDismissEventArgs> TooltipDismiss
    Event Type
    Type
    System.EventHandler<SfChart.TooltipDismissEventArgs>

    ZoomDelta

    Declaration
    public event EventHandler<SfChart.ZoomDeltaEventArgs> ZoomDelta
    Event Type
    Type
    System.EventHandler<SfChart.ZoomDeltaEventArgs>

    ZoomEnd

    Declaration
    public event EventHandler<SfChart.ZoomEndEventArgs> ZoomEnd
    Event Type
    Type
    System.EventHandler<SfChart.ZoomEndEventArgs>

    ZoomStart

    Declaration
    public event EventHandler<SfChart.ZoomStartEventArgs> ZoomStart
    Event Type
    Type
    System.EventHandler<SfChart.ZoomStartEventArgs>
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved