[]
Serializable, Comparable<ErrorBarInclude>, ConstableUse this enum to choose whether a series displays positive error bars, negative error bars, both directions, or no error bars.
worksheet.getRange("A1:B4").setValue(new Object[][] {
{"Quarter", "Sales"},
{"Q1", 1200},
{"Q2", 1500},
{"Q3", 1800}
});
IShape shape = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 360, 220);
shape.getChart().getSeriesCollection().add(worksheet.getRange("A1:B4"), RowCol.Columns, true, true);
ISeries series = shape.getChart().getSeriesCollection().get(0);
series.setHasErrorBars(true);
series.getYErrorBar().setType(ErrorBarInclude.Both);
Enum.EnumDesc<E extends Enum<E>>static ErrorBarIncludestatic ErrorBarInclude[]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