[]
Serializable, Comparable<AxisCrosses>, ConstableUse this enumeration with IAxis.setCrosses(AxisCrosses) to control whether an axis crosses automatically, at the minimum or maximum value, or at a custom position defined by the axis crossing value.
worksheet.getRange("A1:B3").setValue(new Object[][] {
{"Name", "Value"},
{"A", 10},
{"B", 20}
});
IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
chart.getSeriesCollection().add(worksheet.getRange("A1:B3"));
IAxis valueAxis = chart.getAxes().item(AxisType.Value, AxisGroup.Primary);
valueAxis.setCrosses(AxisCrosses.Maximum);
Enum.EnumDesc<E extends Enum<E>>static AxisCrossesstatic AxisCrosses[]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