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

X axis Labels running into plot area

2 Answers 32 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Aaron
Top achievements
Rank 1
Aaron asked on 27 Mar 2012, 04:37 PM
Hello,

I'm fighting an extremely frustrating error, and I'm probably just missing something that's very simple.  All of my x axis labels are running into the plot area.  What property can I manipulate to make this not happen?  I attached a screenshot of the issue that I'm having.

Thanks,
Aaron

2 Answers, 1 is accepted

Sort by
0
Aaron
Top achievements
Rank 1
answered on 27 Mar 2012, 08:14 PM
Actually figured it out by my self.  If you but this in the markup for the radchart

XAxis-Appearance-LabelAppearance-Dimensions-Margins

="10px, 0px, 0px, 0px"


It just so happens that puts margins on the top of the labels.  That property is BURIED though so it took forever to find.
0
Evgenia
Telerik team
answered on 30 Mar 2012, 09:15 AM
Hi Aaron,

 Aside from increasing the Top Margin of the Axis Labels, you may have used our AutoLayout feature (described in our documentation also). Simply set the AutoLayout property of the chart to true and it will automatically provide the optimal utilization of the whole chart area and ensures that all chart elements are fully readable.

All the best,
Evgenia
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Chart (Obsolete)
Asked by
Aaron
Top achievements
Rank 1
Answers by
Aaron
Top achievements
Rank 1
Evgenia
Telerik team
Share this question
or