Chart.Walls.BackgroundColor

Hi,

I'm trying to set the background color:

Chart chart = sheet.Charts[sheet.Charts.Add(ChartType.Column3DClustered, 36, 1, 63, 8)];
chart.Walls.BackgroundColor = Color.Gray;

but it seems, that don't work. Any hints for that?


Andreas

Please try:

Chart chart = sheet.Charts[sheet.Charts.Add(ChartType.Column3DClustered, 36, 1, 63, 8)];
chart.Walls.ForegroundColor = Color.Gray;

Hi Laurence,

thank you for the hint, that was the solution.


Andreas