[]
Serializable, Comparable<DisplayBlanksAs>, ConstableUse this enumeration with chart and sparkline blank-cell display settings to control whether blank cells are shown as gaps, zero values, or interpolated values.
worksheet.getRange("A1:B4").setValue(new Object[][]{
{"Month", "Sales"},
{"Jan", 10},
{"Feb", null},
{"Mar", 20}
});
IShape shape = worksheet.getShapes().addChart(ChartType.Line, 200, 20, 300, 200);
shape.getChart().getSeriesCollection().add(worksheet.getRange("A1:B4"), RowCol.Columns, true, true);
shape.getChart().setDisplayBlanksAs(DisplayBlanksAs.Zero);
DisplayBlanksAs displayBlanksAs = shape.getChart().getDisplayBlanksAs();
Enum.EnumDesc<E extends Enum<E>>static DisplayBlanksAsstatic DisplayBlanksAs[]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