AxisTitle 属性

返回 AxisTitle 对象,该对象代表指定坐标轴的标题。AxisTitle 对象,只读。

expression AxisTitle

expression   必需。该表达式返回“应用于”列表中的对象之一。

示例

本示例向 myChart 嵌入图表中的分类轴添加坐标轴标志。

With myChart.Axes(xlCategory)

    .HasTitle = True

    .AxisTitle.Text = "July Sales"

End With