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:

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();
    chartView.getBehaviors().add(behavior);
    RadCartesianChartView chartView = new RadCartesianChartView(this);

    ChartPanAndZoomBehavior behavior = new ChartPanAndZoomBehavior();
    chartView.Behaviors.Add(behavior);