[]
Serializable, Comparable<SparklineRowCol>, Constable与 ISparklineGroup.getPlotBy() 和 ISparklineGroup.setPlotBy(SparklineRowCol) 一起使用,可以控制迷你图数据是按行还是按列绘制。
worksheet.getRange("A1:C3").setValue(new Object[][] {
{1, 2, 3},
{4, 5, 6},
{7, 8, 9}
});
ISparklineGroup group = worksheet.getRange("D1:D3").getSparklineGroups().add(SparkType.Line, "A1:C3");
group.setPlotBy(SparklineRowCol.RowsSquare);
SparklineRowCol plotBy = group.getPlotBy();
Enum.EnumDesc<E extends Enum<E>>static SparklineRowColstatic SparklineRowCol[]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