[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IChartGroup.BubbleScale

BubbleScale Property

BubbleScale

Gets or sets the scale factor for bubbles in the specified chart group.

The returned value is an integer from 0 to 300, representing a percentage of the default bubble size. This property applies only to bubble charts.

Declaration
int BubbleScale { get; set; }
Property BubbleScale As Integer
Examples
worksheet.Range["A1:C4"].Value = new object[,] {
    {1, 2, 10},
    {2, 3, 20},
    {3, 5, 30},
    {4, 4, 25}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.Bubble, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:C4"]);
IChartGroup chartGroup = chart.ChartGroups[0];
int bubbleScale = chartGroup.BubbleScale;