Click or drag to resize

IChartSerie Bubbles Property

Bubble sizes for the series.
Examples
The following code illustrates how to set Bubbles for IChartSerie in charts:
<para>//Create worksheet</para><para>Workbook workbook = new Workbook();</para><para>workbook.LoadFromFile("Sample.xlsx");</para><para>Worksheet worksheet = workbook.Worksheets[0];</para><para>//Create chart</para><para>IChart chart = worksheet.Charts.Add();</para><para>//Set serie</para><para>IChartSerie serie = chart.Series.Add(ExcelChartType.Bubble);</para><para>//Set values and bubble chart range</para><para>serie.Values = worksheet.Range["A1:C1"];;</para><para>serie.Bubbles = worksheet.Range["A2:C2"];</para><para>//Save to file</para><para>workbook.SaveToFile("Chart.xlsx");</para>

Namespace: Spire.Xls.Core
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
IXLSRange Bubbles { get; set; }

Property Value

Type: IXLSRange
See Also