Free Support Forum - aspose.com

Regarding Aspose Cells

We already bought Aspose Cells version 4.5.0.0. We Previousely used 4.0.1.0.

We created Excel Charts (Diagrams) using aspose cells.

But by default it shows Grey Background color in every chart. But I need White background. But the previous version 4.0.1.0 shows White Background.

What is the best method to change the background color. I have lot of pages to change the code for background. Is there any short cut method for this?



This message was posted using Email2Forum by Merit.

Hi,

Well, you can use the following code to set white background for your chart's plot area:

chart.PlotArea.Area.ForegroundColor = Color.White;

Thank you.

Thanks Amjad Sahi.
I appreciated your very quick Response.

Thanks