[]
Serializable, Comparable<TickLabelPosition>, ConstableUse this enum with IAxis.setTickLabelPosition(TickLabelPosition) to control where axis labels are displayed, such as at the low side, high side, next to the axis, or hidden.
worksheet.getRange("A1:B4").setValue(new Object[][] {
{"Month", "Sales"},
{"Jan", 120},
{"Feb", 150},
{"Mar", 135}
});
IShape shape = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 220);
shape.getChart().getSeriesCollection().add(worksheet.getRange("A1:B4"), RowCol.Columns, true, true);
IAxis categoryAxis = shape.getChart().getAxes().item(AxisType.Category);
categoryAxis.setTickLabelPosition(TickLabelPosition.NextToAxis);
Enum.EnumDesc<E extends Enum<E>>static TickLabelPositionstatic TickLabelPosition[]values()name - the name of the enum constant to be returned.IllegalArgumentException - if this enum class has no constant with the specified nameNullPointerException - if the argument is null