Multi line chart title alignment

Thread is closed for posting
3 posts, 0 answers
  1. vipul saini
    vipul saini avatar
    11 posts
    Member since:
    Mar 2010

    Posted 27 Apr 2010 Link to this post

    Hi,

    I am facing a problem while setting a multi line title for chart control.
    I have two line chart title and i set the alignment as :

    (

    radChart.ChartTitle.Appearance.Position.AlignedPosition = Telerik.Charting.Styles.

    AlignedPositions.Top;

     

    )

    By using this code snippet, the title is aligned top center. Now the problem is as the title is multiline, the first line
    is aligned properly but the second line is not. It starts from where the first line starts besides that it contains less
    text then the first line. Now i want to align the lines separately.

    Please provide any solution as soon as possible.

    Thanks in advance...

    Vipul
  2. Ves
    Admin
    Ves avatar
    2926 posts

    Posted 30 Apr 2010 Link to this post

    Hi vipul,

    Please, add this line right after the one you have pasted:

    radChart.ChartTitle.TextBlock.Appearance.Position.AlignedPosition = Telerik.Charting.Styles.AlignedPositions.Center;


    Best regards,
    Ves
    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. vipul saini
    vipul saini avatar
    11 posts
    Member since:
    Mar 2010

    Posted 04 May 2010 Link to this post

    Hi Ves,

    Thanks a lot... Its working fine now.

    Regards,
    vipul
Back to Top