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 Nov 10, 2014 12:42 pm

How can i change the font (size) of the axis labels.

See attachment:

Thanks in advance for helping

tuijlPL
 
Posts: 11
Joined: Fri Nov 07, 2014 4:14 pm

Tue Nov 11, 2014 8:48 am

Hello,

Thanks for your inquiry. It might be not able to change the font size of axis labels at present. And I have posted the requirement to our Dev team, once there are any progress, we will let you know.
If there are any questions, welcome to get it back to us.
Sincerely,
Gary
E-iceblue support team
User avatar

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

Fri Nov 14, 2014 7:04 am

Hello,

By investigating, we found that there is the method to set the the font (size) of the axis labels. Here are the codes for your reference.
Code: Select all
 //set font size
chart.PrimaryCategoryAxis.TextProperties.Paragraphs[0].DefaultCharacterProperties.FontHeight = 9;
chart.PrimaryValueAxis.TextProperties.Paragraphs[0].DefaultCharacterProperties.FontHeight = 9;

If there are any questions, welcome to get it back to us.
Sincerely,
Gary
E-iceblue support team
User avatar

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

Mon Nov 17, 2014 9:33 am

That solved the problem, thank!

tuijlPL
 
Posts: 11
Joined: Fri Nov 07, 2014 4:14 pm

Tue Dec 16, 2014 7:14 am

Hello,

Thanks for your feedback, if there are any questions, welcome to get it back to us.

Sincerely,
Gary
E-iceblue support team
User avatar

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

Return to Spire.Presentation