Description
The Charts collection contains all charts in the specified worksheet. Chart sheets are not included in this collection. To return a Charts
collection, use Worksheet.Charts.
C#
vb.net
Properties
Name |
Description |
---|---|
Returns the number of charts in the worksheet. |
Indexers
Name |
Description |
---|---|
Returns the chart at the specified 0-based position in the Charts collection. | |
Returns the chart with the specified name in the Charts collection. |
Methods
Name |
Description |
---|---|
Creates a copy of the specified chart and adds it to the current worksheet. This method allows you to add a chart from an external workbook to the worksheet, or to duplicate a chart within a single workbook. The properties and settings on the original chart will be preserved | |
Creates a new, blank chart of the specified type. | |
Returns an IEnumerator for the Charts in a Worksheet |
|
Permanently removes the specified chart from the worksheet. | |
Permanently removes the chart at the specified position from the worksheet. |