[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IAxis.TickLabelSpacingIsAuto

TickLabelSpacingIsAuto Property

TickLabelSpacingIsAuto

Gets or sets whether tick label spacing is determined automatically.

When this property is true, the axis automatically calculates the spacing between tick-mark labels. When it is false, the spacing can be controlled by TickLabelSpacing.

Declaration
bool TickLabelSpacingIsAuto { get; set; }
Property TickLabelSpacingIsAuto As Boolean
Examples
worksheet.Range["A1:B3"].Value = new object[,] {
    {"Month", "Sales"},
    {"Jan", 120},
    {"Feb", 150}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, worksheet.Range["A1:B3"]).Chart;
IAxis axis = chart.Axes.Item(AxisType.Category);
bool isAuto = axis.TickLabelSpacingIsAuto;