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
close icon

Set empty area around the actual chart

Hi, I want to reduce the empty space around my charts (see screenshot). Which setting(s) do I have to adjust to make this minimal?

Thank you


chart_space_9f0dc429.zip

7 Replies

VK Vijayabharathi K Syncfusion Team June 20, 2012 07:07 AM UTC

Hi Matthias,

 

Thanks for using Syncfusion products.

 

We suggest you to set the appropriate size to chart control for make the chart with minimal size in the simple way. Otherwise, you can enabled “PieWithSameRadius “ property of pie item to rendered pie in the same radius when the LabelStyle is set to Outside or OutsideInColumn for reduce the left and right space (It automatically fill the chart width) and use “ChartAreaMargins” property of chart area to reduce the default 20 margin space between chart area and chart. We can only use “Size” property to reduce the top and bottom space of chart.

 

[C#]

 

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

//To reduce the left and right space

this.chartControl1.Series[0].ConfigItems.PieItem.PieWithSameRadius = true;

 

Please refer the attached screenshot and let us know if any concerns.

 

Regards,

Vijayabharathi



ScreenShot_fbffce14.zip


MM Matthias Max June 21, 2012 09:11 AM UTC

Thank you, will try it now.


VK Vijayabharathi K Syncfusion Team June 22, 2012 08:51 AM UTC

Hi Matthias,

 

Thanks for the update. Please let us know if you have any other concerns.

 

Regards,

Vijayabharathi

 



MM Matthias Max September 5, 2012 08:44 AM UTC

It worked, thank you!


VK Vijayabharathi K Syncfusion Team September 6, 2012 07:03 AM UTC

Hi Matthias,

Thanks for the update.

We are happy that you have resolved the requirements. Please get back to us if you have any concerns and we will be happy to help you out.

Regards,

Vijayabharathi



BS BSBYBS March 5, 2018 02:07 PM UTC

Thank you, Interested in the your products.


SK Sanjith Kesavan Syncfusion Team March 6, 2018 09:21 AM UTC

Hi Matthias, 
  
Please let us know your query on Syncfusion products to assist you. 
  
Thanks, 
Sanjith.  


Loader.
Live Chat Icon For mobile
Up arrow icon