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

Diagram - Problem with DataSource

1 Answer 139 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Aleksander
Top achievements
Rank 1
Aleksander asked on 07 Dec 2014, 09:03 PM
Hello,

I'm trying to create a diagram with shapes and connections provided by a remote data source. Something similar to the demo example  but without automatic layout. My data source is configured according to the documentation and the data items have properties like id, width, height, x and y. For some reason it doesn't work, and all shapes are displayed on the center (0,0) of the diagram. I can get the right sizes by using visual template but this is rather workaround. Please take a look on my jsbin example.

Best regards,
Aleksander

1 Answer, 1 is accepted

Sort by
0
Accepted
Hristo Germanov
Telerik team
answered on 09 Dec 2014, 02:11 PM
Hello Aleksander,

Unfortunately this is a bug and I have fixed it. The fix will be included in the next internal build scheduled for this week.

Please excuse us for the inconvenience that his may cause.

I have updated your telerik points.

Please note that you can only specify the width and height of the shape and it will be automatically updated.

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
Aleksander
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Share this question
or