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

Diagram intermediate connection points

4 Answers 46 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Nick
Top achievements
Rank 1
Nick asked on 29 Nov 2016, 05:49 PM

Hello,

I'm trying to open dojo example for diagram intermediate connection points (http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/diagram#configuration-connections.points). However it doesn't work for me (http://dojo.telerik.com/ozIno) as connection is still a straight line (screenshot2.jpg).

Could you please provide a working example of this feature?

Thank you,

Nick

4 Answers, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 01 Dec 2016, 11:46 AM
Hi Nick,

In order to set custom points to a connections you will need to make sure that the connection's type is set to "polyline", but not "cascading" which is the default connecttion.type.

We will make sure to update our documentation appropriately. Meanwhile, you can take a look at the sample here: http://dojo.telerik.com/@veselinar/EFenow

Regards,
Vessy
Telerik by Progress
Kendo UI is ready for Visual Studio 2017 RC! Learn more.
0
Nick
Top achievements
Rank 1
answered on 05 Dec 2016, 07:56 PM

Hi,

Could you please advise how to make it work (custom points) with dynamic data sources?

I want exactly same behaviour as on your example (http://dojo.telerik.com/@veselinar/EFenow) but with dynamic data sources for shapes (http://dojo.telerik.com/EDiKa) and connections (http://dojo.telerik.com/ILUgO). At the moment with same data as in your example I have absolutely unpredictable behavior and 2 different diagrams rendered (see attached screenshots).

Thank you,

Nick

0
Vessy
Telerik team
answered on 07 Dec 2016, 04:28 PM
Hi Nick,

Thank you for the provided samples. We will examine further the cause for this behavior I will write a follow-up to this reply with the results from our investigation.

Regards,
Vessy
Telerik by Progress
Kendo UI is ready for Visual Studio 2017 RC! Learn more.
0
Vessy
Telerik team
answered on 12 Dec 2016, 05:00 PM
Hi Nick,

Thank you for your patience. We have examined the scenario at hand further and the problem is coming from the fact that currently it is not possible to declare connection points from a data source. A possible approach we can suggest you with the current implementation of the Diagram is to add the custom connection point in the change event of the widget in a similar way:
http://dojo.telerik.com/@veselinar/IHIvi

Regards,
Vessy
Telerik by Progress
Kendo UI is ready for Visual Studio 2017 RC! Learn more.
Tags
Diagram
Asked by
Nick
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Nick
Top achievements
Rank 1
Share this question
or