[]
Gets or sets the text direction for the tick-mark labels.
Use this property to determine how the text in chart axis tick labels is oriented, such as horizontal or vertical layout.
TextDirection Direction { get; set; }
Property Direction As TextDirection
worksheet.Range["A1:B4"].Value = new object[,] {
{"Month", "Sales"},
{"Jan", 1200},
{"Feb", 1500},
{"Mar", 1100}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 360, 220).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B4"]);
IAxis axis = chart.Axes.Item(AxisType.Category, AxisGroup.Primary);
TextDirection direction = axis.TickLabels.Direction;