Zoom

4 posts, 1 answers
  1. Andrew
    Andrew avatar
    18 posts
    Member since:
    Sep 2012

    Posted 23 Nov 2012 Link to this post

    Is there anyway to increase the min and max zoom in raddiagram?
  2. Answer
    Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 23 Nov 2012 Link to this post

    Hi Andrew,

    You can change these default values through the following DiagramConstants:
    DiagramConstants.MinimumZoom = 0;
    DiagramConstants.MaximumZoom = 10;
    Please note that you need to set these before the RadDiagram initialization, for example before calling the InitializeComponent() in the constructor of the page hosting the diagram.

    Kind regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Andrew
    Andrew avatar
    18 posts
    Member since:
    Sep 2012

    Posted 23 Nov 2012 Link to this post

    When I do that my ability to use the scroll wheel to zoom is disabled
  5. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 26 Nov 2012 Link to this post

    Hello Andrew,

    I wasn't able to reproduce the issue. I attached a sample solution to demonstrate my approach - basically as soon as I click on the diagramming surface, I can zoom in and out using the mouse wheel. Please test the application on your side and let me know if it works for you or if I'm missing something.

    Regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top