Hello,
I need to replicate the behavior of the picture attached but... I don't find a way to set it automatically by the RadDiagram.
Is there any way ?
Best regards,
Clément
I need to replicate the behavior of the picture attached but... I don't find a way to set it automatically by the RadDiagram.
Is there any way ?
Best regards,
Clément
4 Answers, 1 is accepted
0
Accepted
Hello Clément,
From the image that you've sent us it seems that you could use connection routing and custom connectors.
I've attached a sample project demonstrating those diagram features and I'd like to ask you to examine it and tell us if this is what you're looking for?
Regards,
Boris Penev
Telerik
From the image that you've sent us it seems that you could use connection routing and custom connectors.
I've attached a sample project demonstrating those diagram features and I'd like to ask you to examine it and tell us if this is what you're looking for?
Regards,
Boris Penev
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Clément
Top achievements
Rank 1
answered on 10 Feb 2014, 07:58 AM
Hello Boris,
Thanks for the answer, the custom connectors answer it perfectly.
The main problem now is the text positionning. It seem that the position is calculated from the drawing zone of the connection and not by the connection itself.
Regards,
Clément
Thanks for the answer, the custom connectors answer it perfectly.
The main problem now is the text positionning. It seem that the position is calculated from the drawing zone of the connection and not by the connection itself.
Regards,
Clément
0
Accepted
Hello Clément,
The content placement logic of the RadDiagramConnection is built-in into it and if you want to change it you'll have to use custom connections. To do this you should derive from the RadDiagramConnection class and override its PositionEditElementOverride() method.
I have attached an updated copy of the previous project that demonstrates how this can be done.
Could you please examine it and tell us if this is what you are looking for?
Regards,
Boris Penev
Telerik
The content placement logic of the RadDiagramConnection is built-in into it and if you want to change it you'll have to use custom connections. To do this you should derive from the RadDiagramConnection class and override its PositionEditElementOverride() method.
I have attached an updated copy of the previous project that demonstrates how this can be done.
Could you please examine it and tell us if this is what you are looking for?
Regards,
Boris Penev
Telerik
Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).
0
Clément
Top achievements
Rank 1
answered on 20 Feb 2014, 07:52 AM
Hello boris
Thanks for the intel, it seems to fit my need.
PositionEditElementOverride is computed by the system way to much for me though so I made some additional checking before executing the code inside.
Thanks again
Thanks for the intel, it seems to fit my need.
PositionEditElementOverride is computed by the system way to much for me though so I made some additional checking before executing the code inside.
Thanks again