Chart Methods (PowerPoint)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Methods

Name

Description

ApplyChartTemplate

Applies a standard or custom chart type to a chart.

ApplyDataLabels

Applies data labels to all the series in a chart.

ApplyLayout

Applies the layouts shown in the Ribbon.

Axes

Returns a collection of axes on the chart.

ChartGroups

Returns an object that represents either a single chart group or a collection of all the chart groups in the chart.

ChartWizard

Modifies the properties of the given chart. You can use this method to quickly format a chart without setting all the individual properties. This method is noninteractive, and it changes only the specified properties.

ClearToMatchColorStyle

Clears all colors on the specified chart that do not follow the color style applied to the chart.

ClearToMatchStyle

Clears the chart elements formatting to automatic.

Copy

Not supported for this object.

CopyPicture

Copies the selected object to the Clipboard as a picture.

Delete

Deletes the object.

Export

Exports the chart in a graphic format.

FullSeriesCollection

Returns the collection of all the series in the specified chart, or the specified series.

GetChartElement

Returns information about the chart element at the specified x-coordinate and y-coordinate.

Paste

Pastes chart data from the Clipboard into the chart.

Refresh

Causes the specified chart to be redrawn immediately.

SaveChartTemplate

Saves a custom chart template to the list of available chart templates.

Select

Selects the object.

SeriesCollection

Returns all the series in the chart.

SetBackgroundPicture

Sets the background graphic for a chart.

SetDefaultChart

Specifies the name of the chart template that Microsoft Word uses when it creates new charts.

SetElement

Sets chart elements on a chart. Read/write MsoChartElementType.

SetSourceData

Sets the source data range for the chart.