BubbleScale

ChartSeriesGroup.BubbleScale property

Gets or sets the size of the bubbles as a percentage of their default size.

public int BubbleScale { get; set; }

Remarks

Applies only to series groups of the Bubble and Bubble3D types.

The range of acceptable values is from 0 to 300 inclusive. The default value is 100.

Examples

Show how to set size of the bubbles.

Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);

// Insert a bubble 3D chart.
Shape shape = builder.InsertChart(ChartType.Bubble3D, 450, 250);
ChartSeriesGroup seriesGroup = shape.Chart.SeriesGroups[0];

// Set bubble scale to 200%.
seriesGroup.BubbleScale = 200;

doc.Save(ArtifactsDir + "Charts.BubbleScale.docx");

See Also