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

Free Support Forum - aspose.com

Changing background of chart when converting to image for word

I’m using aspose cells in order to create chart which i’m converting to image and then use the output in my word document.

As you can see in image below I have a grey background for my chart which I’m unable to change.
image.png (8.2 KB)

I’ve tried to change the Transparent property in ImageOrPrintOptions (which is being used for converting the chart to image) but it’s not working.

In addition tried to change the following values in the chart:

  1. PlotArea.Area.ForegroundColor
  2. ChartArea.Area.ForegroundColor
  3. NSeries[0].Area.ForegroundColor

But as you can see in image below some of the background colors where changed but some of the grey area is still there:

image.png (7.7 KB)

Can you please help me understand what do i need to do in order to solve this issue?


Could you please zip and attach an Excel file containing the current chart (by Aspose.Cells) and your expected chart. You may create your desired chart with MS Excel. We will check your issue soon.