Caption Property

Microsoft Graph Visual Basic

expression.Caption

expression    Required. An expression that returns one of the above objects.

Example

This example adds the title "Annual Salary Figures" to the chart.

myChart.HasTitle = True
myChart.ChartTitle.Caption = "Annual Salary Figures"