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

[Solved] Axis Item Label Size

1 Answer 133 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
wj
Top achievements
Rank 1
wj asked on 13 Mar 2010, 12:35 AM
Hi,

I have a really small-sized chart (line graph) and I set the font size for the axis item label to 6.(Times New Roman).
However, it seems that it becomes too blur(because radchart is an image).
Rotating the labels did not help either.

My solution is to skip alternate axis item labels but this did not really work out as each axis item label cannot use the space left behind by an adjacent axis item label. A font-size 8 label will still wrap to the next line(which is not what i want) instead of "overflowing".

Does anybody has any idea on how to solve this?
Thanks a lot!!!

Wayne

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 18 Mar 2010, 08:37 AM
Hi wj,

You may disable text wrapping for the X axis item labels:
RadChart1.PlotArea.XAxis.Appearance.TextAppearance.AutoTextWrap = Styles.AutoTextWrap.False;

You may also consider rotating the labels as shown in this help topic.
Finally, you can control the text quality in RadChart like this:
RadChart1.Appearance.TextQuality = Telerik.Charting.Styles.TextQuality.AntiAlias;

Sincerely,
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.
Tags
Chart (Obsolete)
Asked by
wj
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or