语法
表达式.ClearContents
表达式 一个代表 ChartArea 对象的变量。
返回值Variant
示例
此示例清除 Chart1 的图表数据,但保留其格式设置。
Charts.Item("Chart1").ChartArea.ClearContents()