Completed
Last Updated: 26 Apr 2022 13:15 by ADMIN
Hans
Created on: 15 Jul 2014 10:20
Category: Diagram
Type: Feature Request
2
Text Wrapping
The text within the shapes should be wrapped automatically.
1 comment
ADMIN
Vessy
Posted on: 26 Apr 2022 13:15

Hello,

RadDiagram supports text wrapping when using html content for each shapes. You can set it through the shapes Html property of the shapes:

<telerik:RadDiagram ID="RadDiagram1" runat="server">
    <ShapesCollection>
        <telerik:DiagramShape Id="s1" X="100" Y="100" Width="200">
            <ContentSettings Html="<div style='width:100px'>Long text content on multiple rows</div>" />
       ...

The other option is to follow the approach form the RadDiagram Overview demo where the text is split into separate rows utilizing the control's Visual template functionality.

Regards,
Vessy
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.