X Axis labels on two lines?

3 posts, 1 answers
  1. Lisa
    Lisa avatar
    35 posts
    Member since:
    May 2011

    Posted 22 Jun 2011 Link to this post

    Hi - I have a Horizontal Bar chart with labels for the X-Axis that I want to show on two lines, but I want to control where it breaks.  I've been playing with setting the width and having the text wrap, but it's not formating correctly.

    The text I have is like "L1 N=234"  I want it to display as:
    "L1
    N=234"

    I'm getting wrapping more like:
    "L1 N =
    234".

    Is there a way to format this?

    Thank you

    Lisa
  2. Answer
    Evgenia
    Admin
    Evgenia avatar
    1406 posts

    Posted 27 Jun 2011 Link to this post

    Hello Lisa,

    You can add new line when concatenating the two strings of the XAxis Label either by using "\n" or it's hexademically encoded value that can be set in XAML - "
".

    Kind regards,
    Evgenia
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Lisa
    Lisa avatar
    35 posts
    Member since:
    May 2011

    Posted 27 Jun 2011 Link to this post

    Thank you !
Back to Top