Automatic zoom in Raddiagram

2 posts, 0 answers
  1. Maite
    Maite avatar
    33 posts
    Member since:
    Mar 2014

    Posted 02 Oct 2014 Link to this post

    I need that my Diagram makes zoom and it occupies all Grid where is stayed when I execute my application. I have saved the coordinates of shapes in a database, but these coordinates correspond to one type of screen, and if someone execute the application in an other screen to other size, I want that the Diagram makes zoom automatic to fill all screen. It's possible?
  2. Martin Ivanov
    Martin Ivanov avatar
    1442 posts

    Posted 07 Oct 2014 Link to this post

    Hi Maite,

    I am don't think I completely understand your requirement. Can you please send over a drawing with the current and the desired result? This will help me in better understanding your scenario and assist you further.

    Note that the diagram coordinate system is independent from the screen size.

    In the meantime you can take a look at the BringIntoView() method of the diagram which have few overloads. One of them accepts as an argument an rectangle that determines the new ViewPort of the diagram, which you can calculate based on the screen resolution or any other factor. 


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top