This is a migrated thread and some comments may be shown as answers.

Y-axis label text is clipped after RadChart height resize

1 Answer 81 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Demetrios Yannikakis
Top achievements
Rank 1
Demetrios Yannikakis asked on 18 Feb 2010, 04:32 PM
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

1 Answer, 1 is accepted

Sort by
0
Velin
Telerik team
answered on 23 Feb 2010, 03:50 PM
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.
Tags
Chart
Asked by
Demetrios Yannikakis
Top achievements
Rank 1
Answers by
Velin
Telerik team
Share this question
or