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 Jul 26, 2024 7:09 am
Hi Team,
I'm working with Combination graph and the X-Axis category labels are not shown properly. Is there a way to format these labels. I have attached two images with names #1. CombinationGraph-1-Issue & #2. CombinationGraph-1-Actual. I need to display the Categories on X-Axis which is same as in the attached image #2(CombinationGraph-1-Actual).
I tried the below options :
chart.PrimaryCategoryAxis.TextProperties.Paragraphs[0].Alignment = TextAlignmentType.Left;
chart.PrimaryCategoryAxis.TextProperties.VerticalTextType = VerticalTextType.Horizontal;
chart.PrimaryCategoryAxis.TextRotationAngle = 0;
text labels are getting overridden and none of the above options are working properly.
Thanks for the help in advance.
Login to view the files attached to this post.
-
praveenkasani
-
- Posts: 14
- Joined: Mon Mar 04, 2024 11:21 am
Fri Jul 26, 2024 9:42 am
Hello,
Thank you for inquiry.
I did an initial test using the latest version(
Spire.Presentation for .NET Version: 9.7.4), and found that the code(chart.PrimaryCategoryAxis.TextRotationAngle = 0;) can take effect. To help us further investigate your issue,please provide your full testing code as well as the original input file (if any). You can upload them here or send them to us via email (
support@e-iceblue.com). Thank you in advance for your assistance.
Sincerely,
Amin
E-iceblue support team
-
Amin.Gan
-
- Posts: 282
- Joined: Mon Jul 15, 2024 5:40 am