Axis Item Label Size

Thread is closed for posting
2 posts, 0 answers
  1. wj
    wj avatar
    12 posts
    Member since:
    Sep 2009

    Posted 12 Mar 2010 Link to this post

    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
  2. Ves
    Admin
    Ves avatar
    2926 posts

    Posted 18 Mar 2010 Link to this post

    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.
Back to Top