[]
Serializable, Comparable<SparklineRowCol>, ConstableUsed with ISparklineGroup.getPlotBy() and ISparklineGroup.setPlotBy(SparklineRowCol) to control whether sparkline data is plotted by rows or columns.
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