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

Uncaught RangeError: Maximum call stack size exceeded

3 Answers 444 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Gary
Top achievements
Rank 1
Gary asked on 09 May 2014, 12:14 AM
I am running into some kind of deep recursion issue within the kendo library when trying to add a group shape to the layout.

I have simplified my code down to a very basic example in Dojo that still reproduces the problem:

http://trykendoui.telerik.com/iSIK

Thanks,
Gary

3 Answers, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 09 May 2014, 11:37 AM
Hello Gary,

Add a group for a diagram shape element is not supported. Can you examine our online documentation for more information about diagram.addShape().

"A Shape instance or a Point where the default shape type will be added."

But the diagram methods should not trigger javascript error and I will try to fix this issue for the next official release of Kendo UI.

I have updated your points.

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
Gary
Top achievements
Rank 1
answered on 02 Jun 2014, 10:19 PM
So, how does one go about adding a shape to a diagram whereby the shape includes a Rectangle and a TextBlock? 

0
Hristo Germanov
Telerik team
answered on 04 Jun 2014, 12:08 PM
Hello Gary,

In this case you need to add a function for shape visual. In this function you can create a group with diagram elements in it.

You can examine my example: http://trykendoui.telerik.com/@germanov/aYoL

Regards,
Hristo Germanov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Diagram
Asked by
Gary
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Gary
Top achievements
Rank 1
Share this question
or