ChartTitle 对象

         
Chart
ChartTitle
Border
Font
Interior

代表指定图表的标题。

ChartTitle 对象用法

使用 ChartTitle 属性可返回 ChartTitle 对象。下例向图表中添加标题。

With myChart
    .HasTitle = True
    .ChartTitle.Text = "February Sales"
End With

说明

只有将 HasTitle 属性设置为 True 后,ChartTitle 对象才存在,从而才能使用该对象。