How to reduce amount of whitespace around chart?

2 posts, 0 answers
  1. DAVE
    DAVE avatar
    19 posts
    Member since:
    Jun 2010

    Posted 31 Dec 2014 Link to this post

    By default charts have a lot of white space between the chart elements (that is, the axis labels on the left and bottom and the chart edge on the top and bottom) and the outside border of the chart control.  Padding and margins are all set to 0, 0, 0, 0.  What other properties can I modify to reduce the white space?
  2. Dimitar
    Dimitar avatar
    1321 posts

    Posted 05 Jan 2015 Link to this post

    Hi David,

    Thank you for contacting us.

    By default the chart has 40 pixels margin, it can be changed like this:
    this.radChartView1.View.Margin = new Padding(2);

    Please let me know if there is something else I can help you with. 

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
Back to Top