Xamarin.Android

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

    Show / Hide Table of Contents

    Class ChartBehavior

    ChartBehavior can be added to SfChart view You can handle the SfChart view events directly in chart behavior, which will be helpful in designing the chart application.

    Inheritance
    System.Object
    ChartBehavior
    ChartSelectionBehavior
    ChartTooltipBehavior
    ChartTrackballBehavior
    ChartZoomPanBehavior
    Namespace: Com.Syncfusion.Charts
    Assembly: Syncfusion.SfChart.Android.dll
    Syntax
    public abstract class ChartBehavior : Object

    Constructors

    ChartBehavior()

    Declaration
    public ChartBehavior()

    Properties

    Chart

    Gets the chart.

    Declaration
    public SfChart Chart { get; }
    Property Value
    Type Description
    SfChart

    The SfChart view the chart behavior is attached to. (read-only) You attach(or add) a chart behavior to a SfChart object using the Behavior collection property.

    Methods

    Invalidate()

    Declaration
    public void Invalidate()

    OnDoubleTap(Single, Single)

    Declaration
    protected virtual void OnDoubleTap(float pointX, float pointY)
    Parameters
    Type Name Description
    System.Single pointX
    System.Single pointY

    OnDraw(Canvas)

    Declaration
    protected virtual void OnDraw(Canvas canvas)
    Parameters
    Type Name Description
    Android.Graphics.Canvas canvas

    OnLayoutUpdated()

    Declaration
    protected virtual void OnLayoutUpdated()

    OnLongPress(Single, Single)

    Declaration
    protected virtual void OnLongPress(float pointX, float pointY)
    Parameters
    Type Name Description
    System.Single pointX
    System.Single pointY

    OnScroll(Single, Single, Single, Single)

    Declaration
    protected virtual void OnScroll(float pointX, float pointY, float distanceX, float distanceY)
    Parameters
    Type Name Description
    System.Single pointX
    System.Single pointY
    System.Single distanceX
    System.Single distanceY

    OnTouchDown(Single, Single)

    Declaration
    protected virtual void OnTouchDown(float pointX, float pointY)
    Parameters
    Type Name Description
    System.Single pointX
    System.Single pointY

    OnTouchMove(Single, Single)

    Declaration
    protected virtual void OnTouchMove(float pointX, float pointY)
    Parameters
    Type Name Description
    System.Single pointX
    System.Single pointY

    OnTouchUp(Single, Single)

    Declaration
    protected virtual void OnTouchUp(float pointX, float pointY)
    Parameters
    Type Name Description
    System.Single pointX
    System.Single pointY
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved