Class ChartInteractiveBehavior
ChartInteractiveBehavior is a class used to get the methods that are called when the touch interactions are made in the Chart area. By using that, the user can change the behavior for different actions like OnTouchDown, OnTouchMove, and OnTouchUP.
Inherited Members
Namespace: Syncfusion.Maui.Charts
Assembly: Syncfusion.Maui.Charts.dll
Syntax
public class ChartInteractiveBehavior : ChartBehavior
Remarks
OnTouchDown() - gets called when the user makes the initial contact of a user's finger or touch input device with the Chart Area.
OnTouchMove() - gets called when a user's finger or touch input device is in contact with the Chart area and moves across its surface.
OnTouchUp() - gets called when a user lifts their finger or releases their touch input from the Chart area.
To use this method, create the class inherited by the ChartInteractiveBehavior class.
Then, create the instance for that class, and it must be added in the chart's InteractiveBehavior as per the following code sample.
Examples
public class ChartInteractionExt : ChartInteractiveBehavior
{
<!--omitted for brevity-->
}
Constructors
ChartInteractiveBehavior()
Declaration
public ChartInteractiveBehavior()