Wordwrap and formatting X-Axis labels on RadChart datatable

Thread is closed for posting
2 posts, 0 answers
  1. Ryan
    Ryan avatar
    8 posts
    Member since:
    Oct 2012

    Posted 26 Oct 2012 Link to this post

    I have a chart with a datatable that contains long x-axis labels.  I added wordwrap to the labels so they wouldn't overlap into the neighboring cells but the wordwrap isn't working too well.

    You can see examples on the file attached:

    1. The first column has plenty of room on the right side of the cell but it still chooses to wordwrap to the 2nd line
    2. The fourth column cuts off the label and appends "..." to the end.  Again what is strange is that there is still plenty of room to display the label but instead it gets cut off.

    Are these known issues or am I doing something wrong?
  2. Petar Kirov
    Admin
    Petar Kirov avatar
    425 posts

    Posted 29 Oct 2012 Link to this post

    Hi Ryan,

    Unfortunately if a cell in the DataTable of the RadChart has more than 30 characters it gets clipped and shows "..." after the 30th character. I would strongly recommend using RadGrid as it does not have any of the problems found in the RadChart DataTable.
     
    Regards,
    Petar Kirov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top