Telerik UI for Windows Phone by Progress

Pan and Zoom Behavior

RadChart provides pan and zoom interactivity with the ChartPanAndZoomBehavior class. It is very simple to use and allows users to zoom in the chart plot area when are there is a dense area of data points that can not be seen clearly at the normal chart scale. The pan functionality allows moving the visible area of the chart when it is zoomed in. In order to utilize this behavior users simply have to add it to the chart's Behaviors collection and specify the pan and zoom modes. For example:

    <telerikChart:ChartPanAndZoomBehavior ZoomMode="Horizontal" PanMode="Horizontal"/>

The PanMode and ZoomMode properties allow developers to restrict zooming with horizontal and/or vertical gestures. Setting either of these properties to the Both value removes any gesture restrictions and the chart can be panned and zoomed in both the horizontal and vertical axes. Setting them to None on the other hand stops all pan and zoom functionality of the behavior. The last two values are Horizontal and Vertical which restrict the behavior horizontally and vertically respectively.