[]
Serializable, Comparable<DataBarAxisPosition>, Constable使用此枚举可以控制数据条坐标轴是隐藏、根据正值和负值自动定位,还是固定在单元格中点。
worksheet.getRange("A1:A3").setValue(new Object[][] {{-10}, {0}, {20}});
IDataBar dataBar = worksheet.getRange("A1:A3").getFormatConditions().addDatabar();
dataBar.setAxisPosition(DataBarAxisPosition.Midpoint);
Enum.EnumDesc<E extends Enum<E>>static DataBarAxisPositionstatic DataBarAxisPosition[]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