This is a migrated thread and some comments may be shown as answers.

Zoom

3 Answers 76 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 23 Nov 2012, 04:19 PM
Is there anyway to increase the min and max zoom in raddiagram?

3 Answers, 1 is accepted

Sort by
0
Accepted
Tina Stancheva
Telerik team
answered on 23 Nov 2012, 04:32 PM
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.

0
Andrew
Top achievements
Rank 1
answered on 23 Nov 2012, 04:41 PM
When I do that my ability to use the scroll wheel to zoom is disabled
0
Tina Stancheva
Telerik team
answered on 26 Nov 2012, 02:44 PM
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.

Tags
Diagram
Asked by
Andrew
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Andrew
Top achievements
Rank 1
Share this question
or