HasTitle Property
True if the specified chart or axis has a title. The default value is False. Read/write Boolean.
expression.HasTitle
*expression * Required. An expression that returns one of the objects in the Applies To list.
Example
This example causes the title of the specified chart to be displayed and sets the title font.
Sub SetChartTitle()
' Enable the chart title for the first chart in ChartSpace1.
ChartSpace1.Charts(0).HasTitle = True
' Set the title caption.
ChartSpace1.Charts(0).Title.Caption = "Monthly Sales"
' Set the title font.
ChartSpace1.Charts(0).Title.Font.Name = "times new roman"
End Sub
Applies to | ChAxis Object | ChChart Object
See Also | ChartSpaceTitle Property | HasChartSpaceLegend Property | HasChartSpaceTitle Property | HasLegend Property | Title Property