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.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

33293 Aug 17,2005 08:32 AM Aug 22,2005 12:59 PM Windows Forms 2
loading
Tags: Chart
Atanu Podder
Asked On August 17, 2005 08:32 AM

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 10:48 AM

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 12:59 PM

Thanks for the help. Atanu

CONFIRMATION

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.

;