[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.TickLabelPosition

TickLabelPosition Enum

Specifies the position of tick-mark labels on a chart axis.

Use this enum with TickLabelPosition to control where axis labels are displayed, such as at the low side, high side, next to the axis, or hidden.

Namespace: GrapeCity.Documents.Excel.Drawing
Assembly: DS.Documents.Excel.dll
Syntax
public enum TickLabelPosition
Public Enum TickLabelPosition
Examples
worksheet.Range["A1:B4"].Value = new object[,] {
    {"Month", "Sales"},
    {"Jan", 120},
    {"Feb", 150},
    {"Mar", 135}
};
IShape shape = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 220);
shape.Chart.SeriesCollection.Add(worksheet.Range["A1:B4"], RowCol.Columns, true, true);
IAxis categoryAxis = shape.Chart.Axes.Item(AxisType.Category);
categoryAxis.TickLabelPosition = TickLabelPosition.NextToAxis;

Fields

Name Description
High

Specifies that the tick marks are at the top or right side of the chart.

Low

Specifies that the tick marks are on the bottom or left side of the chart.

NextToAxis

Specifies that the tick marks are next to the axis (where the axis is not at either side of the chart).

None

Specifies no tick marks.