[]
Gets or sets the distance between label levels and between the first label level and the axis line.
Use this property to read the current spacing applied to tick-mark labels on a chart axis.
int Offset { get; set; }
Property Offset As Integer
worksheet.Range["A1:B4"].Value = new object[,] {
{"Month", "Sales"},
{"Jan", 120},
{"Feb", 150},
{"Mar", 110}
};
IShape shape = worksheet.Shapes.AddChart(ChartType.ColumnClustered, worksheet.Range["A1:B4"]);
IAxis axis = shape.Chart.Axes.Item(AxisType.Category);
int offset = axis.TickLabels.Offset;