We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Custom Sizing Plot Area of Chart

Thread ID:





77113 Oct 14,2008 01:16 PM Oct 18,2008 02:21 PM Windows Forms 1
Tags: Chart
Robert Avery
Asked On October 14, 2008 01:16 PM

when I add titles to the chart, it automatically shrinks the size of the actual plotted data. How do I control how big the plotted area is?

The reason is that by default it creates too much whitespace between the plot area and the chart title.

Manohari [Syncfusion]
Replied On October 18, 2008 02:21 PM

Hi Robert,

Thanks for your interest in Syncfusion products.

There is no direct way to set the Size of the ChartPlotARea. HOwever if your interest is to reduce the space between the ChartTitle and the CHatPlotarea, it is possible by reducing the ChartAreaMargins ( which is 10 by default).


this.chartControl1.ChartAreaMargins = new ChartMargins(0, 0, 0, 0);

Kindly let us know if this helps in resolving your problem. Thanks for your patience.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.