다음을 통해 공유


ChartObject.Chart Property (Excel)

Returns a Chart object that represents the chart contained in the object. Read-only.

Syntax

.Chart

A variable that represents a ChartObject object.

Example

This example adds a title to the first embedded chart on Sheet1.

With Worksheets("Sheet1").ChartObjects(1).Chart 
 .HasTitle = True 
 .ChartTitle.Text = "1995 Rainfall Totals by Month" 
End With

참고 항목

개념

ChartObject Object Members

ChartObject Object