Title Property

Microsoft Office Web Components Visual Basic

object that represents the title of the specified axis or chart.

expression.Title

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

This example sets the specified chart to include a title and sets the title text.

Sub SetChartTitle()

   ' Enable the chart title.
   ChartSpace1.Charts(0).HasTitle = True

   ' Set the chart title.
   ChartSpace1.Charts(0).Title.Caption = "Satisfaction Data"

End Sub