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
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
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
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
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