[]
Serializable, Comparable<SparkScale>, Constable将此枚举与迷你图组的垂直轴设置一起使用,可以控制所有迷你图是否共享同一比例、每个迷你图是否使用其自己计算出的比例,或者是否应用自定义轴值。
worksheet.getRange("A1:C3").setValue(new Object[][] {
{2, 4, 6}, {3, 9, 1}, {5, 7, 8}
});
ISparklineGroup group = worksheet.getRange("D1:D3").getSparklineGroups().add(SparkType.Line, "A1:C3");
group.getAxes().getVertical().setMinScaleType(SparkScale.SparkScaleGroup);
group.getAxes().getVertical().setMaxScaleType(SparkScale.SparkScaleCustom);
group.getAxes().getVertical().setCustomMaxScaleValue(10);
Enum.EnumDesc<E extends Enum<E>>static SparkScalestatic SparkScale[]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