Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents from any .NET(C#, VB.NET, ASP.NET, .NET Core) application and Java (J2SE and J2EE) application.

Fri Jun 15, 2018 3:41 pm

hello

As attached file.

I want to delete the last 3 rows (A13,A14,A15) from category labels.
And i also want to delete them from the graph (Maybe series[0] ~ series[4]).

So, i can save the presentation to pdf without any problem.
But when i save it to pptx(2013) then i got a exception as below

here is my source
Code: Select all
                IChart chart = ppt.Slides[0].Shapes[0] as IChart;
                chart.Categories.CategoryLabels = chart.ChartData[1, 0, 11, 0];
                chart.Series[0].Values = chart.ChartData["B2", "B11"];
                chart.Series[1].Values = chart.ChartData["C2", "C11"];
                chart.Series[2].Values = chart.ChartData["D2", "D11"];
                chart.Series[3].Values = chart.ChartData["E2", "E11"];
                chart.Series[4].Values = chart.ChartData["F2", "F11"];


Do you have any suggests or idea?

thanks


IndexOutOfRangeException
spr⇓.ᜀ(Int32 A_0) +20
spr⤔.ᜁ(spr⇓ A_0, String A_1, String A_2, Int32 A_3) +20
spr⅊.ᜀ(spr⭞ A_0) +84
spr៟.ᜀ(spr⦤ A_0) +118
spr₼.ᜀ(spr➸ A_0) +1048
sprᨦ.ᜀ(spr➸ A_0) +4003
sprᨦ.ᜁ(Stream A_0) +85
sprᦀ.᜗() +10632
sprᦀ.ᜀ(spr➸ A_0) +2559
Spire.Presentation.Collections.ShapeList.ᜀ(spr➸ A_0) +114
Spire.Presentation.GroupShape.PptxPrepareForSaving(spr➸ saveContext) +117
Spire.Presentation.ActiveSlide.PresentationBeforeSave(spr➸ saveContext) +211
sprⲿ.ᜀ(spr➸ A_0) +2208
sprᲕ.ᜀ(spr➸ A_0, spr⫹ A_1) +7769
sprᲕ.ᜀ(Stream A_0, spr⫹ A_1, sprᢹ A_2) +532
sprᲕ.ᜀ(Stream A_0, spr⒘ A_1, sprᩀ A_2) +1306
sprᲕ.ᜀ(String A_0, spr⒘ A_1) +219
Spire.Presentation.Presentation.SaveToFile(String file, FileFormat fileFormat) +535

wenl.sun
 
Posts: 9
Joined: Wed Oct 14, 2015 4:10 am

Mon Jun 18, 2018 2:02 am

Hello,

Thank you for your post.
I didn't see any attachment,could you please upload it again or send to us via email(support@e-iceblue.com)?

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Mon Jun 18, 2018 7:08 am

sorry now i have uploaded the template file again
thanks

wenl.sun
 
Posts: 9
Joined: Wed Oct 14, 2015 4:10 am

Mon Jun 18, 2018 8:57 am

Hello,

Thanks for your reply.
I have reproduced the issue and delivered it to our dev team.
Once there's any update, I will let you know.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Wed Jul 04, 2018 3:39 am

hello,

It has been more than tow weeks from i post the subject.

Can you give me some solutions?

I put the project with template file,now.

If you get the reason, please let me know, because i still waiting for that.

Thanks.

wenl.sun
 
Posts: 9
Joined: Wed Oct 14, 2015 4:10 am

Wed Jul 04, 2018 6:08 am

Hi,

So sorry for the delay.
I have checked the status of your issue and found it is in the testing phase.
Once the hotfix is available, I will let you know.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Thu Jul 26, 2018 9:57 am

Hi wenl.sun,

Glad to inform that the hotfix(Spire.Presentation Pack Hotfix Version:3.7.5) is available now.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Return to Spire.Presentation