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
Assembly: Syncfusion.SfChart.Android.dll
Syntax
public abstract class ChartBehavior : Object
Constructors
ChartBehavior()
Declaration
protected ChartBehavior()
Properties
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
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 |
|
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 |
|