[]
Serializable, Comparable<TickMark>, ConstableUse this enum with axis APIs such as IAxis.setMajorTickMark(TickMark) and IAxis.setMinorTickMark(TickMark) to control whether tick marks are drawn inside the axis, outside the axis, across the axis, or not shown.
worksheet.getRange("A1:B3").setValue(new Object[][] {
{"Month", "Sales"},
{"Jan", 100},
{"Feb", 120}
});
IShape shape = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200);
shape.getChart().getSeriesCollection().add(worksheet.getRange("A1:B3"), RowCol.Columns, true, true);
IAxis axis = shape.getChart().getAxes().item(AxisType.Category);
axis.setMajorTickMark(TickMark.Cross);
Enum.EnumDesc<E extends Enum<E>>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