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.

Mon Oct 16, 2017 9:03 pm

How you set Min value = 0 and Max Value= 100?

I send the sample to Support@e-iceblue.com.

Thank you.

fmasfar
 
Posts: 7
Joined: Mon Jun 26, 2017 2:58 pm

Tue Oct 17, 2017 2:28 am

Hello,

Please refer to below code to set min and max value of primary axis in chart.
Code: Select all
chart.PrimaryValueAxis.IsAutoMax = false;
chart.PrimaryValueAxis.IsAutoMin = false;           
chart.PrimaryValueAxis.MinValue = 0f;
chart.PrimaryValueAxis.MaxValue = 100.0f;


Sincerely,
Nina
E-iceblue support team
User avatar

Nina.Tang
 
Posts: 1031
Joined: Tue Sep 27, 2016 1:06 am

Tue Oct 17, 2017 12:42 pm

it's working.
Thank you Nina.

fmasfar
 
Posts: 7
Joined: Mon Jun 26, 2017 2:58 pm

Wed Oct 18, 2017 2:20 am

Hello,

Thanks for your feedback.
Please feel free to contact us if you need further assistance.
Have a nice day!

Sincerely,
Nina
E-iceblue support team
User avatar

Nina.Tang
 
Posts: 1031
Joined: Tue Sep 27, 2016 1:06 am

Return to Spire.Presentation