ChartType property (Excel Graph)
Returns or sets the chart type. Read/write XlChartType.
expression.ChartType
expression Required. An expression that returns one of the objects in the Applies To list.
This example sets the bubble size in chart group one to 200 percent of the default size if the chart is a 2D bubble chart.
With myChart
If .ChartType = xlBubble Then
.ChartGroups(1).BubbleScale = 200
End If
End With
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.