AxisTitle Property

Microsoft Graph Visual Basic

AxisTitle Property


Returns an AxisTitle object that represents the title of the specified axis. Read-only AxisTitle object.


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


This example adds an axis label to the category axis in myChart.

With myChart.Axes(xlCategory)
    .HasTitle = True
    .AxisTitle.Text = "July Sales"
End With