[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.SizeRepresents

SizeRepresents Enum

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.

Namespace: GrapeCity.Documents.Excel.Drawing
Assembly: DS.Documents.Excel.dll
Syntax
public enum SizeRepresents
Public Enum SizeRepresents
Examples
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;

Fields

Name Description
SizeIsArea

Specifies the bubble area.

SizeIsWidth

Specifies the bubble width.