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

Unable to view whole diagram

5 Answers 156 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Gary
Top achievements
Rank 1
Gary asked on 02 Jun 2014, 11:36 PM
I have a tree down layout with one parent having 31 direct children, which produces quite a wide layout. The problem is that I cannot view the entire diagram, even though I'm calling bringIntoView(diagram.shapes). Also, manually zooming with mouse scroll wheel doesn't allow me to zoom out enough to see the whole diagram.

Are there some limitations with zoom such that it is impossible to view the entirety of diagrams wider than a certain amount?

Thanks,
Gary

5 Answers, 1 is accepted

Sort by
0
Daniel
Top achievements
Rank 1
answered on 02 Jun 2014, 11:56 PM
I'm having the same problem (and lots of others) with the diagram. Looks like this control really shouldn't be out of beta yet. 
0
Hristo Germanov
Telerik team
answered on 04 Jun 2014, 02:24 PM
Hello guys,

You are right bringIntoView() doesn't work in some cases. Unfortunately this is one of them. I will try to resolve this issue as soon as possible.

Until then you can update to the latest internal build(in it build we have some major fixes around diagram.zoom()) and you can set smaller zoom like 0.1.

I hope that this helps.

Regards,
Hristo Germanov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Matthew
Top achievements
Rank 1
answered on 04 Jun 2014, 05:00 PM
I can confirm that 2014.1.603+ helps a ton with the zooming issues.
0
Hristo Germanov
Telerik team
answered on 06 Jun 2014, 07:16 AM
Hello Matthew,

I am glad to hear that. I am closing this forum post now.

Regards,
Hristo Germanov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Matt
Top achievements
Rank 1
answered on 19 Jan 2015, 09:55 AM
Hi Hristo,

I am running on (v2014.3.1119) and having similar problems with a hierarchical tree\tipover.  I would simply like the diagram to dynamically size itself (width and height) so that the user does not need zoom out to view the diagram, the user would use the scrollbars on the outerdiv to view content (for example, scroll left to view child 30 of the main parent branch).

Do you have any examples on how to achieve a dynamically sized diagram as I have proof of concept demo coming up and would like to use Kendo.

Thanks,

Matt.
Tags
Diagram
Asked by
Gary
Top achievements
Rank 1
Answers by
Daniel
Top achievements
Rank 1
Hristo Germanov
Telerik team
Matthew
Top achievements
Rank 1
Matt
Top achievements
Rank 1
Share this question
or