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.

Thu Jul 12, 2018 1:44 pm

Hi,
How can display empty cells as gaps (not showing the value 0) when the option LabelValueVisible is true
Thx

farah
 
Posts: 4
Joined: Tue Jul 03, 2018 1:16 pm

Fri Jul 13, 2018 4:01 am

Hello farah,

Thank you for your post.
Spire.Presentation would show empty cells as "Zero" type by default when creating a chart, you could use the below code to set it as "Gap".
Code: Select all
chart.DisplayBlanksAs = DisplayBlanksAsType.Gap;

Sincerely,
Jane
E-iceblue support team
User avatar

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

Fri Jul 13, 2018 10:10 am

Hi Jane
Thank you very much for your answer. that's exactly what i'm looking for.
Regards,

farah
 
Posts: 4
Joined: Tue Jul 03, 2018 1:16 pm

Fri Jul 13, 2018 10:18 am

Dear farah,

Glad to hear that.
Just feel free to contact us if you need any assistance.

Sincerely,
Jane
E-iceblue support team
User avatar

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

Return to Spire.Presentation