Setting XAxis labels' alignment to 45 degress or vertical

Feb 16, 2016 at 11:08 PM
I am trying to alter the orientation of the XAxis labels. Currently the labels are displayed in a horizontal position which makes the x axis look very cluttered. Is it possible to change the axis' label alignment to 45 degrees, or if not then vertical?

I know that it is possible to change the XAxis' title to have a vertical orientation, but I have not found a way to do the same for the XAxis' labels.

var chart = chartWorksheet.Drawings.AddChart(entry.Key,eChartType.XYScatterLinesNoMarkers);
chart.XAxis.Title.TextVertical = eTextVerticalType.Vertical;