Y-axis label text is clipped after RadChart height resize

2 posts, 0 answers
  1. Demetrios Yannikakis
    Demetrios Yannikakis avatar
    1 posts
    Member since:
    Feb 2010

    Posted 18 Feb 2010 Link to this post

    Hi!

    I am currently implimenting a RadChart graph within Silverlight and C#.
    My aim is to resize the graph to be placed within my application, once the height has been changed only the bottom half of the text at the top of the y-axis is showing.

                this.RadChart1.DefaultView.ChartArea.Width = 300;
                this.RadChart1.DefaultView.ChartArea.Height = 300;

    Any ideas?

    Thanks,
    D
  2. Velin
    Admin
    Velin avatar
    391 posts

    Posted 23 Feb 2010 Link to this post

    Hi Demetrios Yannikakis,

    Unfortunately, the current version of the control does not automatically apply any text wrapping mechanism around the axis titles. You can manually insert format specifiers inside your text in order to make it appear on several lines. Here is an example:
    RadChart1.DefaultView.ChartArea.AxisY.Title = "My \n Axis Y \n title.";

    Hope this will help.

    Kind regards,
    Velin
    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.
Back to Top