[]
Specifies what bubble size represents in a bubble chart.
Use this enum with SizeRepresents to control whether bubble sizes are interpreted by area or by width.
public enum SizeRepresents
Public Enum SizeRepresents
worksheet.Range["A1:C4"].Value = new object[,] {
{"X", "Y", "Size"},
{1, 10, 2},
{2, 15, 4},
{3, 12, 6}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.Bubble, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:C4"]);
IChartGroup chartGroup = chart.XYGroups[0];
chartGroup.SizeRepresents = SizeRepresents.SizeIsWidth;
| Name | Description |
|---|---|
| SizeIsArea | Specifies the bubble area. |
| SizeIsWidth | Specifies the bubble width. |