2 posts, 0 answers
  1. Lutz
    Lutz avatar
    1 posts
    Member since:
    Mar 2013

    Posted 04 Apr 2013 Link to this post

    In the documentation for ChartPanAndZoomBehavior.PanMode Property  it reads:
    Gets or sets the ChartPanZoomMode value that specifies how the chart will respond to a pan action.

    But what is a 'pan action'? I can zoom using scrollbars or mouse window and I can pan using the scrollbars even if PanMode is set to 'None'. So which kind of interaction is enabled/disabled when I set the property PanMode?
  2. Petar Kirov
    Petar Kirov avatar
    425 posts

    Posted 09 Apr 2013 Link to this post

    Hi Lutz,

    The PanMode property is useful in scenarios when you want want to have a fixed zoom and allow the user only to scroll. This can be achieved by setting ChartPanAndZoomBehavior.ZoomMode to None and setting RadCartesianChart.Zoom to e.g. "2,1" -> chart will show the full Y axis range and only 1/2 of the X axis range.

    On the other hand, if you want to leave the ability to zoom-in and zoom-out to the user, you can leave PanMode to None and set ZoomMode to Horizontal, Vertical or Both, depending on your scenario.

    If you have any other questions, I'll be glad to help.
    Petar Kirov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft R3 2016 release webinar banner
Back to Top