Axis Text Rotation ********

Hi,I wants to rotate the axis title with some angle like 45 degree or so.

I am trying to do so using

chart.ValueAxisitle.RotationAngle =Int32.Parse(angle);chart.ValueAxisitle.RotationAngle =Int32.Parse(angle);

But i am not able to achieve it.

Please let me know how i can do so.

Thanks,

Amit

Hi,

Thanks for using Aspose.Cells for .NET.

Please download and use the latest version:
Aspose.Cells
for .NET v7.3.2.4



Please try the following code and see if it works fine.

C#


chart.ValueAxis.Title.IsVisible = true;

chart.ValueAxis.Title.TextDirection = TextDirectionType.LeftToRight;

chart.ValueAxis.Title.RotationAngle = -45;