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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Chart Margin is set to {0, 0, 0, 0}, still the chart does not fill the whole control.

Thread ID:





33293 Aug 17,2005 12:32 PM UTC Aug 22,2005 04:59 PM UTC WinForms 2
Tags: Chart
Atanu Podder
Asked On August 17, 2005 12:32 PM UTC

Is there a way to position the Chartarea inside the Chart control. I mean to say, even after setting the chart margin to {0, 0, 0,0} still there is some space visible from the borders of the chart control and the actual chart area. Is there any way to reduce the same gap to Nil. I mean the Chart should fill the whole ChartControl. Thanks, Atanu

Administrator [Syncfusion]
Replied On August 17, 2005 02:48 PM UTC

Hi Atanu, For the ChartArea to take up the entire ChartControl, please change these settings: this.chartControl1.Text = ""; this.chartControl1.Legend.Visible = false; this.chartControl1.ElementsSpacing = 0; Thanks, Davis

Atanu Podder
Replied On August 22, 2005 04:59 PM UTC

Thanks for the help. Atanu


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon