Can't remove margins from charts

2 posts, 0 answers
  1. Brian Battersby
    Brian Battersby avatar
    11 posts
    Member since:
    Sep 2009

    Posted 27 Sep 2009 Link to this post

    Hello,

    I have been able to get most of my required chart layout customizations to work.  The only thing I can't figure out is how to get rid of the left and right margins in the plotted data and the right margin between the right side of the plot area and right side of the chart.  I tried messing with the margins in the plot area > appearance > dimension area but it didn't work.  I would set all the margins to 0 and they would come back.  I would also set autosize to false, but this causes major exceptions in the designer.  I also tried messing with the autosizing in the plot area > appearance > position area but this also causes major exceptions in the designer.  I just want my chart to look normal with the plotted data taking up the full widh of the plot area and no margin to the right.  This should really be the default layout.  Is it possible to achieve this in the RAD charts?  Is this something that is being worked on?

    Thanks,

    -Brian
  2. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 30 Sep 2009 Link to this post

    Hello Brian,

    Setting the PlotArea.Appearance.Dimensions.Margins should be sufficient in this case. I have attached an image of the chart in the VS design surface with zero margins as well as the form I used.


    Best regards,
    Ves
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top