RadChartView: Behaviors

Each chart can be enabled with interactivity through its Behaviors. A behavior is generally an abstraction that handles user input in a RadChartView instance and optionally provides visual feedback upon some action. The following behaviors are available:

  • PanAndZoomBehavior: When this behavior is added to RadCartesianChartView, the gestures drag, pinch open and pinch close respectively cause panning, zooming in and zooming out of the associated chart plot area.

Getting Started

In order to add a behavior, you simply need to add a new behavior of the desired type to the behaviors collection of your chart instance:

    RadCartesianChartView chartView = new RadCartesianChartView(this);

    ChartPanAndZoomBehavior behavior = new ChartPanAndZoomBehavior();