Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents. Get free and professional technical support for Spire.Presentation for .NET, Java, Android, C++, Python.

Mon Jan 22, 2018 3:02 am

Hi there,
I've just purchased Spire.Presentation yesterday. And I'm coding a function which gets data from Database and automatic build chart from this data.
Almost is working correctly. But I have a problem that I don't know how to add Mile Stone column to chart using C# code (please see attachment for more information).
I've searched for all your tutorial but I can't find anything like that.

So, can you show me the way to handle this case?
It would be very good if you provide a code sample.

Thank you.

nhatnlh
 
Posts: 8
Joined: Fri Jan 19, 2018 6:42 am

Mon Jan 22, 2018 10:22 am

Hello,

Thanks for your inquiry.
Could you please provide your document that shows the chart you expect? Then we will look into it and provide you the sample code accordingly. You could sent it to us(Support@e-iceblue.com) via Email.

Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Mon Jan 22, 2018 12:16 pm

Gary.zhang wrote:Hello,

Thanks for your inquiry.
Could you please provide your document that shows the chart you expect? Then we will look into it and provide you the sample code accordingly. You could sent it to us(Support@e-iceblue.com) via Email.

Sincerely,
Gary
E-iceblue support team


I've sent it to you. Please check your email.
Thank you.

nhatnlh
 
Posts: 8
Joined: Fri Jan 19, 2018 6:42 am

Tue Jan 23, 2018 3:54 am

Dear nhatnlh,

Thanks for your sample file.
Sorry that currently Spire.Presentation doesn’t support adding Mile Stone column(Error bar) to chart. Yet we have already added this new feature in our schedule and done it, now it is under testing phase, once the hotfix is available, we will notify you immediately.

Best wishes,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Tue Jan 23, 2018 4:19 am

Hi Betsy,
I got it now,
I will wait for your Update.

Thank you.

nhatnlh
 
Posts: 8
Joined: Fri Jan 19, 2018 6:42 am

Mon Jan 29, 2018 9:46 am

Dear nhatnlh,

Thanks for waiting.
Now the new feature(Error Bars) has been implemented in Spire.Presentation Pack Version:2.9. Sample code for your reference:
Code: Select all
                        IChart chart = presentation.Slides[0].Shapes[0] as IChart;
                        IErrorBarsFormat erry1 = chart.Series[0].ErrorBarsYFormat;
                        erry1.ErrorBarNoEndCap = false;
                        erry1.ErrorBarSimType = ErrorBarSimpleType.Minus;
                        erry1.ErrorBarvType = ErrorValueType.Percentage;
                        erry1.ErrorBarVal = 100f;
                        erry1.Line.FillType = FillFormatType.Solid;
                        erry1.Line.SolidFillColor.Color = Color.Black;
                        erry1.Line.Width = 2;

Looking forward to your feedback.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Fri Mar 16, 2018 1:58 am

I've upgraded to the newest version and it worked. Very nice.
Thank you.

nhatnlh
 
Posts: 8
Joined: Fri Jan 19, 2018 6:42 am

Fri Mar 16, 2018 2:57 am

Dear nhatnlh,

Thanks for your feedback.
Any question, just feel free to contact us.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.Presentation