Chart Object Members
PowerPoint Developer Reference |
Represents a chart in a presentation.
Methods
Name | Description | |
---|---|---|
ApplyChartTemplate | OffDevBetaPlaceholder | |
ApplyCustomType | Applies a standard or custom chart type to a chart. | |
ApplyDataLabels | Applies data labels to all the series in a chart. | |
ApplyLayout | OffDevBetaPlaceholder | |
AutoFormat | OffDevBetaPlaceholder | |
Axes | Returns an object that represents either a single axis or a collection of the axes on 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 non-interactive, and it changes only the specified properties. | |
CopyPicture | Copies the selected object to the Clipboard as a picture. | |
Export | Exports the chart in a graphic format. Read/Write Boolean. | |
GetChartElement | Returns information about the chart element at specified X and Y coordinates. This method is unusual in that you specify values for only the first two arguments. Microsoft Office PowerPoint fills in the other arguments, and your code should examine those values when the method returns. | |
Refresh | Causes the specified chart to be redrawn immediately. | |
SaveChartTemplate | OffDevBetaPlaceholder | |
SeriesCollection | Returns an object that represents either a single series (a Series object) or a collection of all the series (a SeriesCollection collection) in the chart or chart group. | |
SetDefaultChart | Specifies the name of the chart template that Microsoft PowerPoint will use when creating new charts. | |
SetElement | OffDevBetaPlaceholder | |
SetSourceData | Sets the source data range for the chart. |
Properties
Name | Description | |
---|---|---|
AutoScaling | True if Microsoft Office PowerPoint scales a 3-D chart so that it is closer in size to the equivalent 2-D chart. The RightAngleAxes property must be True. Read/write Boolean. | |
BackWall | Returns a ChSurface object that represents the back wall of a three-dimensional chart. Use the properties and methods of the returned ChSurface object to format the back wall of the specified chart. | |
BarShape | Returns or sets the shape used with the 3-D bar or column chart. Read/write. | |
ChartArea | Returns a ChartArea object that represents the complete chart area for the chart. Read-only. | |
ChartData | Returns or sets an array that contains the values that will be displayed by the chart. | |
ChartGroups | OffDevBetaPlaceholder | |
ChartStyle | OffDevBetaPlaceholder Read/Write String. | |
ChartTitle | Returns a ChartTitle object that represents the title of the specified chart. Read-only. | |
ChartType | Returns a ChartTitle object that represents the title of the specified chart. Read-only. | |
Corners | Returns a Corners object that represents the corners of a 3-D chart. Read-only. | |
DataTable | Returns a DataTable object that represents the chart data table. Read-only. | |
DepthPercent | Returns or sets the depth of a 3-D chart as a percentage of the chart width (between 20 and 2000 percent). Read/write Long. | |
DisplayBlanksAs | Returns or sets the way that blank cells are plotted on a chart. Can be one of the PpDisplayBlanksAs constants. Read/write Long. | |
Elevation | Returns or sets the elevation of the 3-D chart view, in degrees. Read/write Long. | |
Floor | Returns a Floor object that represents the floor of the 3-D chart. Read-only. | |
GapDepth | Returns or sets the distance between the data series in a 3-D chart, as a percentage of the marker width. The value of this property must be between 0 and 500. Read/write Long. | |
HasAxis | Returns or sets which axes exist on the chart. Read/write Variant. | |
HasDataTable | True if the chart has a data table. Read/write Boolean. | |
HasLegend | True if the chart has a legend. Read/write Boolean. | |
HasTitle | True if the axis or chart has a visible title. Read/write Boolean. | |
HeightPercent | Returns or sets the height of a 3-D chart as a percentage of the chart width (between 5 and 500 percent). Read/write Long. | |
Legend | Returns a Legend object that represents the legend for the chart. Read-only. | |
Parent | Returns the parent object for the specified object. Read-only. | |
Perspective | Returns or sets a Long value that represents the perspective for the 3-D chart view. Read/Write Long. | |
PivotLayout | Returns a PivotLayout object that represents the placement of fields in a PivotTable report and the placement of axes in a PivotChart report. Read-only. | |
PlotArea | Returns a PlotArea object that represents the plot area of a chart. Read-only. | |
PlotBy | Returns or sets the way columns or rows are used as data series on the chart. Can be one of the following PpRowCol constants: ppColumns or ppRows. Read/write Long. | |
PlotVisibleOnly | True if only visible cells are plotted. False if both visible and hidden cells are plotted. Read/write Boolean. | |
RightAngleAxes | True if the chart axes are at right angles, independent of chart rotation or elevation. Applies only to 3-D line, column, and bar charts. Read/write Boolean. | |
Rotation | Returns or sets the rotation of the 3-D chart view (the rotation of the plot area around the z-axis, in degrees). The value of this property must be from 0 to 360, except for 3-D bar charts, where the value must be from 0 to 44. The default value is 20. Applies only to 3-D charts. Read/write Variant. | |
SideWall | OffDevBetaPlaceholder | |
Walls | Returns a Walls object that represents the walls of the 3-D chart. Read-only. |