Chart Members
Include Protected Members
Include Inherited Members
Represents a chart in a document.
The Chart type exposes the following members.
Methods
Name | Description | |
---|---|---|
ApplyChartTemplate | Applies a standard or custom chart type to a chart. | |
ApplyCustomType | 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. | |
AreaGroups | On a 2-D chart, returns an object that represents either a single area chart group (a ChartGroup object) or a collection of the area chart groups (a ChartGroups collection). | |
AutoFormat | This API supports the Visual Studio Tools for Office infrastructure and is not intended to be used directly from your code. | |
Axes | Gets an object that either represents a single axis or a collection of axes on the chart. | |
BarGroups | On a 2-D chart, returns an object that represents either a single bar chart group (a ChartGroup object) or a collection of the bar chart groups (a ChartGroups collection). | |
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. | |
ClearToMatchStyle | Clears the chart elements formatting to automatic. | |
ColumnGroups | On a 2-D chart, returns an object that represents either a single column chart group (a ChartGroup object) or a collection of the column chart groups (a ChartGroups collection). | |
Copy | Not supported for this object. | |
CopyPicture | Copies the selected object to the Clipboard as a picture. | |
Delete | Deletes the object. | |
DoughnutGroups | On a 2-D chart, returns an object that represents either a single doughnut chart group (a ChartGroup object) or a collection of the doughnut chart groups (a ChartGroups collection). | |
Export | Exports the chart in a graphic format. This method returns a Boolean value indicating whether the export was successful. | |
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 Word fills in the other arguments, and your code should examine those values when the method returns. | |
LineGroups | On a 2-D chart, returns an object that represents either a single line chart group (a ChartGroup object) or a collection of the line chart groups (a ChartGroups collection). | |
Paste | Pastes chart data from the Clipboard into the specified chart. | |
PieGroups | On a 2-D chart, returns an object that represents either a single pie chart group (a ChartGroup object) or a collection of the pie chart groups (a ChartGroups collection). | |
RadarGroups | On a 2-D chart, returns an object that represents either a single radar chart group (a ChartGroup object) or a collection of the radar chart groups (a ChartGroups collection). | |
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 an Object that represents 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 creating new charts. | |
SetElement | Sets chart elements on a chart. Read/write. | |
SetSourceData | Sets the source data range for the Chart. | |
XYGroups | On a 2-D chart, returns an object that represents either a single scatter chart group (a ChartGroup object) or a collection of scatter chart groups (a ChartGroups collection). |
Top
Properties
Name | Description | |
---|---|---|
Application | When used without an object qualifier, this property returns an _Application object that represents the Microsoft Word application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only. | |
Area3DGroup | Returns the area chart group on a 3-D chart. | |
AutoScaling | Scales a 3-D chart so that it's closer in size to the equivalent 2-D chart. The RightAngleAxes property must be True. Read/write. | |
BackWall | Returns a Walls object that allows the user to individually format the back wall of a 3-D chart. Read-only. | |
Bar3DGroup | Returns the bar chart group on a 3-D chart. | |
BarShape | Returns or sets the shape used for every series in a 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 information about the linked or embedded data associated with a chart. Read-only. | |
ChartGroups | Returns an object that represents either a single chart group or a collection of all the chart groups in the chart. | |
ChartStyle | Returns or sets the chart style for the chart. Read/write Object. | |
ChartTitle | Returns a ChartTitle object that represents the title of the specified chart. Read-only. | |
ChartType | Returns or sets the chart type. Read/write. | |
Column3DGroup | Returns the column chart group on a 3-D chart. | |
Corners | Returns the corners of a 3-D chart. | |
Creator | Returns a 32-bit Integer that indicates the application in which the specified object was created. 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. | |
DisplayBlanksAs | Returns or sets the way that blank cells are plotted on a chart. Can be one of the XlDisplayBlanksAs constants. Read/write. | |
Elevation | Returns or sets the elevation of the 3-D chart view, in degrees. Read/write. | |
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. | |
HasAxis | Returns or sets which axes exist on the chart. Read/write. | |
HasDataTable | Gets or sets a value that indicates whether the Chart has a data table. Read/write. | |
HasLegend | Returns True if the chart has a legend. Read/write. | |
HasPivotFields | Determines if the PivotChart controls are displayed on the specified PivotChart report | |
HasTitle | True if the axis or chart has a visible title. Read/write. | |
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. | |
InDraftMode | Reserved for internal use. | |
Legend | Returns a Legend object that represents the legend for the chart. Read-only. | |
Line3DGroup | Returns the line chart group on a 3-D chart. | |
Parent | Returns the parent for the specified object. Read-only. | |
Perspective | Returns or sets an Integer value that represents the perspective for the 3-D chart view. | |
Pie3DGroup | Returns the pie chart group on a 3-D chart. | |
PivotLayout | Not supported for this object. | |
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 XlRowCol constants: xlColumns or xlRows. Read/write. | |
PlotVisibleOnly | Gets or Sets a value that indicates whether only visible cells are plotted. Read/write. | |
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. | |
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. | |
Shapes | Returns a Shapes collection that represents all the shapes on the chart sheet. Read-only. | |
ShowAllFieldButtons | Gets or sets whether to display all field buttons on a Pivot Chart. This object, member, or enumeration is deprecated and is not intended to be used in your code. | |
ShowAxisFieldButtons | Gets or sets whether to display axis field buttons on a Pivot Chart. This object, member, or enumeration is deprecated and is not intended to be used in your code. | |
ShowDataLabelsOverMaximum | Returns or sets whether to show the data labels when the value is greater than the maximum value on the value axis. Read/write. | |
ShowDraftModeButton | ||
ShowLegendFieldButtons | Gets or sets whether to display legend field buttons on a PivotChart. This object, member, or enumeration is deprecated and is not intended to be used in your code. | |
ShowReportFilterFieldButtons | Gets or sets whether to display the report filter field buttons on a PivotChart. This object, member, or enumeration is deprecated and is not intended to be used in your code.. | |
ShowValueFieldButtons | Gets or sets whether to display the value field buttons on a PivotChart. This object, member, or enumeration is deprecated and is not intended to be used in your code.. | |
SideWall | Returns a Walls object that allows the user to individually format the side wall of a 3-D chart. Read-only. | |
SubType | This API supports the Visual Studio Tools for Office infrastructure and is not intended to be used directly from your code. | |
SurfaceGroup | Returns the surface chart group of a 3-D chart. | |
Type | Reserved for internal use. | |
Walls | Returns a Walls object that represents the walls of the 3-D chart. Read-only. |
Top