AxisTitle Object
Description
Represents the title of an axis in a chart.
Using the AxisTitle Object
Use the AxisTitle property to return an AxisTitle object. The following example sets the text of the value axis title, sets the font to 10-point Bookman, and formats the word "millions" as italic.
With myChart.Axes(xlValue)
.HasTitle = True
With .AxisTitle
.Caption = "Revenue (millions)"
.Font.Name = "bookman"
.Font.Size = 10
.Characters(10, 8).Font.Italic = True
End With
End With
Remarks
The AxisTitle object doesn't exist and cannot be used unless the HasTitle property for the specified axis is True.
Properties
Application property, AutoScaleFont property, Border property, Caption property, Creator property, Fill property, Font property, HorizontalAlignment property, Interior property, Left property, Name property, Orientation property, Parent property, ReadingOrder property, Shadow property, Text property, Top property, VerticalAlignment property.
Methods
Delete method.