I can't seem to find any settings on how to make the shape auto-fit the content text or make the text auto size to fit the shape width. Can you please explain how this can be done?
3 Answers, 1 is accepted
0
Vessy
Telerik team
answered on 12 Jun 2015, 03:09 PM
Hi Leo,
RadDiagram does not provide a built-in functionality to automatically wrap the text of a shape, or to transfer it to multiple lines. The only possible way to achieve a similar fnctionality for the moment is to use the RadDiagram Visual template functionality and add several Tex objects to a shape, so each of them will be rendered as a separate row. A live example of such implementation is available in the RadDiagram Overview demo: http://demos.telerik.com/aspnet-ajax/diagram/examples/overview/defaultcs.aspx
Hi Vassy, is there a way to do it now in the Q1 2018 version of Telerik controls?
Thank you!
0
Vessy
Telerik team
answered on 23 Feb 2018, 04:25 PM
Hi Anitha,
The discussed feature is still not available out-of-the-box in the diagram, but not the control provides an option to set HTML content for its shapes, so you can achieve it easier.