Chart Axis clipping

Thread is closed for posting
2 posts, 0 answers
  1. Prescott Nasser
    Prescott Nasser avatar
    1 posts
    Member since:
    Jan 2010

    Posted 20 Jan 2012 Link to this post

    Hi,

    For various reasons I can't use the nice GUI designer, so I'm trying to format the chart via codebehind, but I'm having two issues I can't seem to solve.

    1. The YAxis (the names in the image), is clipping, I can't figure out how to fix that. Note that this is a custom Axis - AutoScale = false.
    2. There is a large space between the legend and the actual chart, I can't seem to figure out which property to set to fix this.

    Charting 2011.2.915.40

    Thanks
    Prescott
  2. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 23 Jan 2012 Link to this post

    Hello,

    One possible option to handle the desired setup, is to manipulate the margins for the chart plotarea, and the legend. These are accessible through:

    RadChart1.PlotArea.Appearance.Dimensions.Margins
    RadChart1.Legend.Appearance.Dimensions.Paddings

    I hope this gets you started properly.

    Greetings,
    Yavor
    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top