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.

Fri May 19, 2017 2:05 pm

Please see the attached image to understand the requirement.

stp_webdev
 
Posts: 15
Joined: Fri Apr 21, 2017 1:40 pm

Mon May 22, 2017 7:09 am

Hello,

Thanks for your inquiry and sorry for the late reply as weekend.
As per my understanding, you want to operate units of axis. Here is sample code for your reference.
Code: Select all
chart.PrimaryValueAxis.IsAutoMajor = false;
chart.PrimaryValueAxis.MajorUnit = 4.0f;
chart.PrimaryValueAxis.MajorGridTextLines.SolidFillColor.Color = Color.LightSkyBlue;

If I misunderstood you, please write back to clarify your requirement.

Sincerely,
Nina
E-iceblue support team
User avatar

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

Mon May 22, 2017 12:07 pm

Thank You. Yours code works for me.

stp_webdev
 
Posts: 15
Joined: Fri Apr 21, 2017 1:40 pm

Tue May 23, 2017 6:13 am

Hello,

I'm glad to hear from you.
Please feel free to contact us if you need further assistance.

Sincerely,
Nina
E-iceblue support team
User avatar

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

Return to Spire.Presentation