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

Free Support Forum - aspose.com

Setting No Fill background for PlotArea/ChartArea


I am trying to make the plot area and chart area completely transparent (called no fill in the Excel gui). I have tried the following (for the chart area) with no success:

chart.ChartArea.Background = BackgroundMode.Transparent;
chart.ChartArea.Area.FillFormat.Pattern = FillPattern.None;
chart.ChartArea.Area.Formatting = FormattingType.None;
chart.ChartArea.Area.ForegroundColor = Color.Transparent;
chart.ChartArea.Area.BackgroundColor = Color.Transparent;

Can someone point me towards the correct property?



Hi Shaun,

Please remove other codes exception chart.ChartArea.Area.Formatting = FormattingType.None;

Thank you. Just what I needed.