[]
Serializable, Comparable<DataLabelPosition>, ConstableUse this enumeration with IDataLabel.setPosition(DataLabelPosition) or IDataLabels.setPosition(DataLabelPosition) to control the placement of data labels for chart points or an entire series.
worksheet.getRange("A1:B3").setValue(new Object[][] {
{"Name", "Value"},
{"A", 10},
{"B", 20}
});
IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, worksheet.getRange("D1:H8")).getChart();
chart.setSourceData(worksheet.getRange("A1:B3"));
chart.getSeriesCollection().get(0).getDataLabels().setPosition(DataLabelPosition.OutsideEnd);
Enum.EnumDesc<E extends Enum<E>>static DataLabelPositionstatic DataLabelPosition[]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