X axis Labels running into plot area

Thread is closed for posting
3 posts, 0 answers
  1. Aaron
    Aaron avatar
    17 posts
    Member since:
    Jan 2011

    Posted 27 Mar 2012 Link to this post

    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. Aaron
    Aaron avatar
    17 posts
    Member since:
    Jan 2011

    Posted 27 Mar 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Evgenia
    Admin
    Evgenia avatar
    1406 posts

    Posted 30 Mar 2012 Link to this post

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