[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IDataLabel.ShowBubbleSize

ShowBubbleSize Property

ShowBubbleSize

Gets or sets whether the data label displays the bubble size.

This property applies to data labels on bubble charts.

Declaration
bool ShowBubbleSize { get; set; }
Property ShowBubbleSize As Boolean
Examples
worksheet.Range["A1:C3"].Value = new object[,] {
    {1, 10, 5},
    {2, 20, 8},
    {3, 15, 6}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.Bubble, 10, 10, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:C3"]);
IDataLabel dataLabel = chart.SeriesCollection[0].DataLabels[0];
dataLabel.ShowBubbleSize = true;
bool showBubbleSize = dataLabel.ShowBubbleSize;