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

Can't remove margins from charts

1 Answer 84 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Brian Battersby
Top achievements
Rank 1
Brian Battersby asked on 27 Sep 2009, 12:45 PM
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

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 30 Sep 2009, 08:27 AM
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.
Tags
Chart (obsolete as of Q1 2013)
Asked by
Brian Battersby
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or