Chart Members

Include Protected Members
Include Inherited Members

Represents a chart in a document.

The Chart type exposes the following members.

Properties

  Name Description
Public property AlternativeText Returns or sets the alternative text associated with a shape in a Web presentation. Read/write.
Public property Application When used without an object qualifier, returns an Application object that represents the Microsoft PowerPoint application. When used with an object qualifier, returns an Application object that represents the creator of the specified object (you can use this property with an Automation object to return the application of that object). Read-only.
Public property Area3DGroup Reserved for internal use.
Public property AutoScaling true if Microsoft 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 value.
Public property BackWall Returns an object that allows the user to individually format the back wall of a 3-D chart. Read-only Walls.
Public property Bar3DGroup Reserved for internal use.
Public property BarShape Returns or sets the shape used for every series in a 3-D bar or column chart. Read/write XlBarShape.
Public property ChartArea Returns the complete chart area for the chart. Read-only ChartArea.
Public property ChartData Returns information about the linked or embedded data associated with a chart. Read-only ChartData.
Public property ChartStyle Returns or sets the chart style for the chart. Read/write.
Public property ChartTitle Returns the title of the specified chart. Read-only ChartTitle.
Public property ChartType Returns or sets the chart type. Read/write XlChartType.
Public property Column3DGroup Reserved for internal use.
Public property Corners Reserved for internal use.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only.
Public property DataTable Returns the chart data table. Read-only DataTable.
Public property 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 64-bit signed integer.
Public property DisplayBlanksAs Returns or sets the way that blank cells are plotted on a chart. Can be one of the XlDisplayBlanksAs constants. Read/write 64-bit signed integer.
Public property Elevation Returns or sets the elevation, in degrees, of the 3-D chart view. Read/write 64-bit signed integer.
Public property Floor Returns the floor of the 3-D chart. Read-only Floor.
Public property Format Returns the ChartFormat object. Read-only.
Public property GapDepth Returns or sets the distance, as a percentage of the marker width, between the data series in a 3-D chart. Read/write 64-bit signed integer.
Public property HasAxis Returns or sets which axes exist on the chart. Read/write.
Public property HasDataTable true if the chart has a data table. Read/write Boolean value.
Public property HasLegend true if the chart has a legend. Read/write Boolean value.
Public property HasPivotFields Reserved for internal use.
Public property HasTitle true if the axis or chart has a visible title. Read/write Boolean value.
Public property HeightPercent Returns or sets the height of a 3-D chart as a percentage of the chart width (from 5 through 500 percent). Read/write 64-bit signed integer.
Public property Legend Returns the legend for the chart. Read-only Legend.
Public property Line3DGroup Reserved for internal use.
Public property Name
Public property Parent Returns the parent for the specified object. Read-only.
Public property Perspective Returns or sets the perspective for the 3-D chart view. Read/write 64-bit signed integer.
Public property Pie3DGroup Reserved for internal use.
Public property PlotArea Returns the plot area of a chart. Read-only PlotArea.
Public property PlotBy Returns or sets the way columns or rows are used as data series on the chart. Read/write 64-bit signed integer.
Public property PlotVisibleOnly true if only visible cells are plotted. false if both visible and hidden cells are plotted. Read/write Boolean value.
Public property RightAngleAxes true if the chart axes are at right angles, independent of chart rotation or elevation. Read/write Boolean value.
Public property Rotation Returns or sets the rotation, in degrees, of the 3-D chart view (the rotation of the plot area around the z-axis). Read/write.
Public property Shapes Returns a collection that represents all the shapes on the chart sheet. Read-only Shapes.
Public property ShowAllFieldButtons Returns or sets a value that indicates whether to display all field buttons on a PivotChart. Read/write.
Public property ShowAxisFieldButtons Returns or sets a value that indicates whether to display axis field buttons on a PivotChart. Read/write.
Public property ShowDataLabelsOverMaximum Returns or sets a value that indicates whether to show the data labels when the value is greater than the maximum value on the value axis. Read/write Boolean value.
Public property ShowLegendFieldButtons Returns or sets a value that indicates whether to display legend field buttons on a PivotChart. Read/write.
Public property ShowReportFilterFieldButtons Returns or sets a value that indicates whether to display the report filter field buttons on a PivotChart. Read/write.
Public property ShowValueFieldButtons Returns or sets a value that indicates whether to display the value field buttons on a PivotChart. Read/write.
Public property SideWall Returns a Walls object that allows the user to individually format the side wall of a 3-D chart. Read-only.
Public property Subtype Reserved for internal use.
Public property SurfaceGroup Reserved for internal use.
Public property Title Gets or sets a string that represents the title of the chart. Read/write.
Public property Type Reserved for internal use.
Public property Walls Returns the walls of the 3-D chart. Read-only Walls.

Top

Methods

  Name Description
Public method _ApplyDataLabels Reserved for internal use.
Public method ApplyChartTemplate Applies a standard or custom chart type to a chart.
Public method ApplyCustomType Reserved for internal use.
Public method ApplyDataLabels Applies data labels to all the series in a chart.
Public method ApplyLayout Applies the layouts shown in the ribbon.
Public method AreaGroups Reserved for internal use.
Public method AutoFormat Reserved for internal use.
Public method Axes Returns a collection of axes on the chart.
Public method BarGroups Reserved for internal use.
Public method ChartGroups Returns an object that represents either a single chart group or a collection of all the chart groups in the chart.
Public method 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.
Public method ClearToMatchStyle Clears the chart elements formatting to automatic.
Public method ColumnGroups Reserved for internal use.
Public method Copy Not supported for this object.
Public method CopyPicture Copies the selected object to the Clipboard as a picture.
Public method Delete Deletes the object.
Public method DoughnutGroups Reserved for internal use.
Public method Export Exports the chart in a graphic format.
Public method GetChartElement Returns information about the chart element at the specified x-coordinate and y-coordinate.
Public method LineGroups Reserved for internal use.
Public method Paste Pastes chart data from the Clipboard into the chart.
Public method PieGroups Reserved for internal use.
Public method RadarGroups Reserved for internal use.
Public method Refresh Causes the specified chart to be redrawn immediately.
Public method SaveChartTemplate Saves a custom chart template to the list of available chart templates.
Public method Select Selects the object.
Public method SeriesCollection Returns all the series in the chart.
Public method SetBackgroundPicture Sets the background graphic for a chart.
Public method SetDefaultChart Specifies the name of the chart template that Microsoft PowerPoint uses when it creates new charts.
Public method SetElement Sets chart elements on a chart. Read/write MsoChartElementType.
Public method SetSourceData Sets the source data range for the chart.
Public method XYGroups Reserved for internal use.

Top

See Also

Reference

Chart Interface

Microsoft.Office.Interop.PowerPoint Namespace