ChartArea 属性

       

返回 ChartArea 对象,该对象代表图表的整个图表区。只读。

示例

本示例将 myChart 嵌入图表的图表区内部颜色设置为红色,边框颜色设置为蓝色。

With myChart.ChartArea
    .Interior.ColorIndex = 3
    .Border.ColorIndex = 5
End With