We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to Remove Chart Padding

I’m inserting pie charts into cells in an Excel spreadsheet, and I don’t want titles or axis labels or anything. I want the chart to expand to fill the cell, but I can’t seem to remove the padding around the chart area. I have a 40x40px cell and the chart object fills the cell, but the actual pie chart is about 10x10px.

I’ve tried adjusting the ChartArea’s Height and Width, but this seems to have no effect. Any help or suggestions would be greatly appreciated.



Please try our latest version/fix v7.1.0.0. If you find any issue, give us your sample code (runnable) with template files (input(if you have) and output). Also attach a file (by manually created in Ms Excel) with your desired chart with its formatting fitted in your desired cell, we will check it soon.

Thank you.