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. Image for the cookie policy date

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

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

2 Replies

AD Administrator Syncfusion Team 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

AP Atanu Podder August 22, 2005 04:59 PM UTC

Thanks for the help. Atanu

Live Chat Icon For mobile
Up arrow icon