facebooktwittermenuarrow-up

GemBox Support Forum

Loading charts does not maintain all properties

Hi All,

I have started working with loading PPTX’s with Excel sheets/charts in them

I have found that it appears not to be persisting them when saving them. On closer inspection, it seems not to be loading properties. The ones I have noticed are things around data labels, I have to reset these which I really don’t want to do, I would rather it just loaded them correctly. I am hoping I am missing something really simple in the loading

excelChart.DataLabels.LabelPosition = DataLabelPosition.BestFit;
excelChart.DataLabels.ShowLeaderLines = true;
excelChart.DataLabels.TextFormat.Size = GemBox.Spreadsheet.Drawing.Length.From(8, GemBox.Spreadsheet.LengthUnit.Point);

Any help would be greatly appreciated.
Cheers,
Nathan

Hi Nathan,

The data labels should be preserved.
Can you send us your PPTX file so that we can reproduce this issue and investigate it?

Regards,
Mario

Hi Marion,

I have tried to upload the PPTX, but i was not able to.

Can i email it to you or something?
Cheers,
Nathan

Hi Nathan,

Yes, you can create a support ticket and attach your file to it.

Regards,
Mario