Chart bar is duplicated (OP-8681)


#1

In the attached files you can find the same pptx processed with two different versions of Aspose.Slides. As you can see in the latest version the chart is rendered with an additional bar.


#2

Aspose.Slides.VersionComparison.zip (66.5 KB)


#3

@andreagasparin,

I have observed the two presentation files shared by you and request you to please share the source presentation and working sample code reproducing issue.


#4

Hi Mudassir,
I created and attached a simple program to replicate the issue.

OP-8681.zip (332.9 KB)


#5

@andreagasparin,

Thank you for sharing the sample code. I suggest you to please add following modification to clear existing chart data workbook before setting new one.

            chart.ChartData.ChartDataWorkbook.Clear(0);
            chart.ChartData.WriteWorkbookStream(ms);

This change has worked fine on my end. I hope this will be helpful to you.


#6

Hi Mudassir,
The workaround suggested works for me.
Thanks for the quickly response.
Anyway, I think you should open a ticket to the R&D to fix the issue.


#7

@andreagasparin,

It’s good to know that things are fine on your end with suggested code sample. I have created an issue with ID SLIDESNET-41281 as enhancement to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.


#8

The issues you have found earlier (filed as SLIDESNET-41281) have been fixed in this update.