I am working on a chart with category axis that has date values. I have noticed that sometimes they get automatically slanted 45 degrees if the chart width is not wide enough. How can i know if this occurs or not in the backcode since i need to fix the height of the category axis.
I have observed the scenario shared by you and like to share that Aspose.Slides allows you to manually set the text direction for category axis. However, there is no automated way to identify that if the automatically selected category axis labels will be slanted or not. However, you can use the following sample code to set the angle for category axis labels.
public static void TestChart() { Presentation pres = new Presentation(); ISlide slide = pres.Slides[0];