[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IDataLabels.ShowBubbleSize

ShowBubbleSize Property

ShowBubbleSize

Gets or sets whether the bubble size is displayed in the data labels for the series.

This property is typically used with bubble charts to control whether each data label includes the bubble size value.

Declaration
bool ShowBubbleSize { get; set; }
Property ShowBubbleSize As Boolean
Examples
worksheet.Range["A2:C5"].Value = new object[,] {
    {"Sales", null, null},
    {125, 750, 3},
    {75, 875, 5},
    {175, 625, 6}
};
IShape shape = worksheet.Shapes.AddChart(ChartType.Bubble, 250, 20, 360, 230);
shape.Chart.SeriesCollection.Add(worksheet.Range["A2:C5"], RowCol.Columns, true, true);
ISeries series = shape.Chart.SeriesCollection[0];
series.HasDataLabels = true;
series.DataLabels.ShowBubbleSize = true;
bool showBubbleSize = series.DataLabels.ShowBubbleSize;