Syntax

expression.SecondPlotSize

expression A variable that represents a ChartGroup object.

Example

This example must be run on either a pie of pie chart or a bar of pie chart. The example splits the two sections of the chart by value, combining all values under 10 in the primary pie and displaying them in the secondary section. The secondary section is 50 percent of the size of the primary pie.

Visual Basic for Applications
With Worksheets(1).ChartObjects(1).Chart.ChartGroups(1) .SplitType = xlSplitByValue .SplitValue = 10 .VaryByCategories = True .SecondPlotSize = 50 End With
change size of secondary pie slice change size secondary portion pie second second plot size Second Plot Size Property secondplot SecondPlotSize secondplotsize property set secondary section pie to percentage of pie

See also: