Free Support Forum - aspose.com

Is transparency supported for PlotArea background color?

Is it possible to use transparency color as a background of the e PlotArea? I have code, but chart looks completely opaque (Color.FromArgb(0, 0, 0, 125))

Chart chart = CurrentChartSheet.Charts[index];

chart.PlotArea.Background = BackgroundMode.Transparent;
chart.PlotArea.Area.ForegroundColor = Color.FromArgb(255, 0, 0, 125);

Hi,

Please use the line:
chart.PlotArea.Area.Formatting = FormattingType.None;

Thank you.

Hi, thanks for the replay but unfortunately it’s not working:
Aspose.Cells v4.8.1.0, Ms Excel 2007. code:

chart.PlotArea.Background = BackgroundMode.Transparent;
chart.PlotArea.Area.Formatting = FormattingType.None;
chart.PlotArea.Area.ForegroundColor = Color.FromArgb(255, 0, 0, 125);

Hi,

Please use the latest version:
Aspose.Cells for .NET v7.0.1.3

If the problem persists, then let us know, we will fix it asap.