ChartTitle Object

Microsoft Graph Visual Basic

ChartTitle Object

         
Chart ChartTitle
Border
Font
Interior

Represents the title of the specified chart.

Using the ChartTitle Object

Use the ChartTitle property to return the ChartTitle object. The following example adds a title to the chart.

With myChart
    .HasTitle = True
    .ChartTitle.Text = "February Sales"
End With

Remarks

The ChartTitle object doesn't exist and cannot be used unless the HasTitle property for the chart is True.