Cannot programmatically add/remove PanAndZoomBehavior

2 posts, 1 answers
  1. Jinyan
    Jinyan avatar
    23 posts
    Member since:
    Jul 2012

    Posted 10 Aug 2012 Link to this post

    Hi all,

    This is reposted from another question ( for clarification.

    I am having trouble programmatically add/removing the PanAndZoom functionality for ChartView. I have tried several ways of doing it, and the problem essentially boils down to this: the only way to get pan and zoom bar to show up, I have to include it in the XAML file. Furthermore, if I ever decide to set the Pan/Zoom mode to "None" programmatically, the pan and zoom bar is gone forever, even if I set the mode back to "Both".

    Is there a work around to allow users to programmatically enable/disable pan and zooming for a given ChartView?

  2. Answer
    Ves avatar
    2870 posts

    Posted 13 Aug 2012 Link to this post

    Hi Jin,

    I have attached a small example to my reply in the other  forum thread.

    Best regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top