[]
Serializable, Comparable<ErrorBarDirection>, ConstableError bars indicate the degree of uncertainty in chart data. Only series in area, bar, column, line, and scatter chart groups on 2D charts can have error bars. Only scatter chart series can have both X and Y error bars. Use IErrorBar.getDirection() to retrieve the direction of an error bar.
IShape shape = worksheet.getShapes().addChart(ChartType.XYScatter, 250, 20, 360, 230);
worksheet.getRange("A1:B4").setValue(new Object[][] {
{55, 964}, {20, 825}, {77, 840}
});
shape.getChart().getSeriesCollection().add(worksheet.getRange("A1:B4"), RowCol.Columns);
ISeries series = shape.getChart().getSeriesCollection().get(0);
series.setHasErrorBars(true);
ErrorBarDirection direction = series.getYErrorBar().getDirection();
Enum.EnumDesc<E extends Enum<E>>static ErrorBarDirectionstatic ErrorBarDirection[]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