[]
Serializable, Comparable<SizeRepresents>, ConstableUse this enum with IChartGroup.setSizeRepresents(SizeRepresents) to control whether bubble sizes are interpreted by area or by width.
worksheet.getRange("A1:C4").setValue(new Object[][] {
{"X", "Y", "Size"},
{1, 10, 2},
{2, 15, 4},
{3, 12, 6}
});
IChart chart = worksheet.getShapes().addChart(ChartType.Bubble, 20, 20, 300, 200).getChart();
chart.getSeriesCollection().add(worksheet.getRange("A1:C4"));
IChartGroup chartGroup = chart.getXYGroups().get(0);
chartGroup.setSizeRepresents(SizeRepresents.SizeIsWidth);
Enum.EnumDesc<E extends Enum<E>>static SizeRepresentsstatic SizeRepresents[]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