PowerPoint Modify the chart data source prompt 'object change'

PowerPoint Modify the chart data source prompt ‘object change’.

Here is my code, please guide us.

Hi Shiny,


I like to share that to avoid object changed message image, you can get chart image and set that as ole frame image. I have modified the sample project as per your convenience. Please look for comments, “Modifications by Mudassir” in sample code.

Many Thanks,

Hi Mudassir

I use to provide you with ways to modify the chart, when the chart is a picture this format,
X-axis
overlap

Hi Shiny,


I have observed the image shared by you and like to share that as you are using Ole frames and adding excel charts in PowerPoint, so the issue relates to Aspose.Cells rather than Aspose.Slides. You can reproduce the issue by getting the chart images using Aspose.Cell. Aspose.Slides renders the chart as it is rendered in Excel sheet and change in its orientation is not related to Aspose.Slides in fact. You can generate the chart image using following sample code or you may also save the workbook as excel file.

Bitmap imgChart = chart.ToImage();
imgChart.Save(@"…\CustomReport\TestChart2.bmp", System.Drawing.Imaging.ImageFormat.Bmp);

wb.Save(@"…\CustomReport\Test.xls", Aspose.Cells.SaveFormat.Excel97To2003);


Please share, if I may help you further in this regard.

Many Thanks,
Thank you very much!On this issue, I ask Aspose.cells team.