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 Apr 28, 2017 1:36 pm

Hi,

I have a Barclustered chart within in a rectangle in my slide. How to change the font size of all chart labels.

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

Mon May 01, 2017 7:17 am

Hello,
Please use the below method in our Spire.Presentation to set the font size of chart labels:
Code: Select all
chart.Series[0].DataLabels.TextProperties.Paragraphs[0].DefaultCharacterProperties.FontHeight=30;

If you have any questions, please write back to us.

Thanks,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Mon May 08, 2017 9:54 am

Hi,

Thank you so much. Your code is working as expected.

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

Tue May 09, 2017 8:53 am

Hello,

Thanks for your feedback.
If there are any other questions, please don't hesitate to contact us.

Thanks,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Return to Spire.Presentation

cron