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.
Wed Apr 20, 2016 5:10 am
Login to view the files attached to this post.
-
vishaldream
-
- Posts: 6
- Joined: Tue Apr 03, 2012 4:57 am
Wed Apr 20, 2016 6:21 am
Hi,
Thanks for your posting.
Please try this code:
- Code: Select all
chart.Series[0].DataLabels.TextProperties.Paragraphs[0].DefaultCharacterProperties.FontHeight = 20;
Best Regards,
Amy
E-iceblue support team
-
amy.zhao
-
- Posts: 2774
- Joined: Wed Jun 27, 2012 8:50 am
Wed Apr 20, 2016 6:33 am
Thank you so much. It's working absolutely fine. Great help and response in short time.
-
vishaldream
-
- Posts: 6
- Joined: Tue Apr 03, 2012 4:57 am
Wed Apr 20, 2016 6:42 am
Hi,
I am glad that your issue is resolved.
Welcome to write to us again if you have further problems.
Best Regards,
Amy
E-iceblue support team
-
amy.zhao
-
- Posts: 2774
- Joined: Wed Jun 27, 2012 8:50 am
Wed Apr 20, 2016 7:47 am
Can i add % symbol after each value.
-
vishaldream
-
- Posts: 6
- Joined: Tue Apr 03, 2012 4:57 am
Wed Apr 20, 2016 8:41 am
Hi,
Do you want to set its NumberFormat as percentage?
If so, please try the following code.
- Code: Select all
chart.Series[0].DataLabels.HasDataSource = false;
chart.Series[0].DataLabels.NumberFormat = "0%";
Best Regards,
Amy
E-iceblue support team
-
amy.zhao
-
- Posts: 2774
- Joined: Wed Jun 27, 2012 8:50 am
Wed Apr 20, 2016 8:49 am
Yes i want to numberFormat as percentage . But it's not working, even i also try
chart.Series[0].DataLabels.NumberFormat = "0#\\%";
My column datatype also double.
-
vishaldream
-
- Posts: 6
- Joined: Tue Apr 03, 2012 4:57 am
Wed Apr 20, 2016 9:48 am
Hello,
Have you set the following property? It is essential.
- Code: Select all
chart.Series[0].DataLabels.HasDataSource = false;
Sincerely,
Gary
E-iceblue support team
-
Gary.zhang
-
- Posts: 1380
- Joined: Thu Apr 04, 2013 1:30 am
Wed Apr 20, 2016 10:01 am
Hello,
I try all above properties but not working. I attached source code. please review and revert me.
Test.rar
Login to view the files attached to this post.
-
vishaldream
-
- Posts: 6
- Joined: Tue Apr 03, 2012 4:57 am
Thu Apr 21, 2016 6:07 am
Hi,
Please remove this code chart.Series[0].DataLabels.PercentValueVisible = true; from your source code or set the value as false.
Best Regards,
Amy
E-iceblue support team
-
amy.zhao
-
- Posts: 2774
- Joined: Wed Jun 27, 2012 8:50 am
Tue Apr 26, 2016 8:22 am
Hi vishaldream,
Has your issue been resolved?
Thanks for your feedback.
Best Regards,
Amy
E-iceblue support team
-
amy.zhao
-
- Posts: 2774
- Joined: Wed Jun 27, 2012 8:50 am
Thu Apr 28, 2016 8:18 am
Thanks .yes problem had been resolved.
-
vishaldream
-
- Posts: 6
- Joined: Tue Apr 03, 2012 4:57 am
Thu Apr 28, 2016 8:35 am
Hi,
Thanks for your response.
Welcome to write to us again if you have further problems.
Best Regards,
Amy
E-iceblue support team
-
amy.zhao
-
- Posts: 2774
- Joined: Wed Jun 27, 2012 8:50 am