This documentation is archived and is not being maintained.

Chart Interface

 

Represents an embedded chart in Office projects for Microsoft Office Excel.

Namespace:   Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

[GuidAttribute("c4435b63-6e69-4360-92fb-2b144fd9b1d2")]
public interface Chart : IBindableComponent, IComponent, IDisposable, 
	ISupportInitialize

NameDescription
System_CAPS_pubpropertyApplication

Gets an Application that represents the Microsoft Office Excel application.

System_CAPS_pubpropertyAutoScaling

Scales a 3-D chart so that it is closer in size to the equivalent 2-D chart.

System_CAPS_pubpropertyBackWall

Gets an object that represents the back wall of a 3-D chart.

System_CAPS_pubpropertyBarShape

Gets or sets the shape used with the 3-D bar or column chart.

System_CAPS_pubpropertyBindingContext

(Inherited from IBindableComponent.)

System_CAPS_pubpropertyChartArea

Gets a ChartArea object that represents the complete chart area for the chart.

System_CAPS_pubpropertyChartStyle

Gets or sets the style of the chart.

System_CAPS_pubpropertyChartTitle

Gets a ChartTitle object that represents the title of the specified chart.

System_CAPS_pubpropertyChartType

Gets or sets the chart type.

System_CAPS_pubpropertyContainer

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubpropertyCreator

Gets the application in which this Chart was created.

System_CAPS_pubpropertyDataBindings

(Inherited from IBindableComponent.)

System_CAPS_pubpropertyDataTable

Gets a DataTable that represents the chart data table.

System_CAPS_pubpropertyDefaultDataSourceUpdateMode

Gets or sets the default DataSourceUpdateMode.

System_CAPS_pubpropertyDepthPercent

Gets or sets the depth of a 3-D chart as a percentage of the chart width (between 20 and 2000 percent).

System_CAPS_pubpropertyDisplayBlanksAs

Gets or sets the way that blank cells are plotted on a chart.

System_CAPS_pubpropertyElevation

Gets or sets the elevation of the 3-D chart view, in degrees.

System_CAPS_pubpropertyFloor

Gets a Floor object that represents the floor of the 3-D chart.

System_CAPS_pubpropertyGapDepth

Gets or sets the distance between the data series in a 3-D chart, as a percentage of the marker width.

System_CAPS_pubpropertyHasAxis

Gets or sets a value indicating whether a specific axis exists on the Chart control.

System_CAPS_pubpropertyHasDataTable

Gets or sets a value that indicates whether the Chart control has a data table.

System_CAPS_pubpropertyHasLegend

Gets or sets a value that indicates whether the Chart control has a legend.

System_CAPS_pubpropertyHasTitle

Gets or sets a value that indicates whether the Chart control has a title.

System_CAPS_pubpropertyHeightPercent

Gets or sets the height of a 3-D chart as a percentage of the Chart control width.

System_CAPS_pubpropertyHyperlinks

Gets a Hyperlinks collection that represents the hyperlinks for the range or worksheet.

System_CAPS_pubpropertyInnerObject

Gets a Microsoft.Office.Interop.Excel.Chart that represents the underlying native object for the Chart.

System_CAPS_pubpropertyLegend

Gets a Legend object that represents the legend for the chart.

System_CAPS_pubpropertyMailEnvelope

Represents an e-mail header for a document.

System_CAPS_pubpropertyName

Gets the name of the Chart control.

System_CAPS_pubpropertyPageSetup

Gets a PageSetup that contains all the page setup settings for the specified object.

System_CAPS_pubpropertyParent

Gets the parent object for the Chart control.

System_CAPS_pubpropertyPerspective

Gets or sets the perspective for the 3-D chart view.

System_CAPS_pubpropertyPivotLayout

Gets a PivotLayout object that represents the placement of fields in a PivotTable report and the placement of axes in a PivotChart report.

System_CAPS_pubpropertyPlotArea

Gets a PlotArea object that represents the plot area of a chart.

System_CAPS_pubpropertyPlotBy

Gets or sets the way columns or rows are used as data series on the chart.

System_CAPS_pubpropertyPlotVisibleOnly

Gets or sets a value that indicates whether only visible cells are plotted.

System_CAPS_pubpropertyPrintedCommentPages

Gets the number of comment pages that will be printed for the current chart.

System_CAPS_pubpropertyProtectData

Gets or sets a value that indicates whether modification of series formulas is prevented.

System_CAPS_pubpropertyProtectFormatting

Gets or sets a value that indicates whether modification of Chart control formatting is prevented.

System_CAPS_pubpropertyProtectSelection

Gets or sets a value that indicates whether selection of Chart control elements is prevented.

System_CAPS_pubpropertyRightAngleAxes

Gets or sets a value that indicates whether the Chart control axes are at right angles, independent of chart rotation or elevation.

System_CAPS_pubpropertyRotation

Gets or sets the rotation of the 3-D chart view (the rotation of the plot area around the z-axis, in degrees).

System_CAPS_pubpropertyShapes

Gets a Shapes object that represents all the shapes on the Chart control.

System_CAPS_pubpropertyShowAllFieldButtons

Gets or sets whether to display all field buttons on a PivotChart.

System_CAPS_pubpropertyShowAxisFieldButtons

Gets or sets whether to display axis field buttons on a PivotChart.

System_CAPS_pubpropertyShowDataLabelsOverMaximum

Gets 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.

System_CAPS_pubpropertyShowLegendFieldButtons

Gets or sets whether to display legend field buttons on a PivotChart.

System_CAPS_pubpropertyShowReportFilterFieldButtons

Gets or sets whether to display the report filter field buttons on a PivotChart.

System_CAPS_pubpropertyShowValueFieldButtons

Gets or sets whether to display the value field buttons on a PivotChart.

System_CAPS_pubpropertySideWall

Gets an object that represents the side wall of a 3-D chart.

System_CAPS_pubpropertySite

(Inherited from IComponent.)

System_CAPS_pubpropertyTab

Gets a Tab object for a Chart control.

System_CAPS_pubpropertyTag

Gets or sets the object that contains data about the Tag control.

System_CAPS_pubpropertyWalls

Gets a Walls object that represents the walls of the 3-D chart.

NameDescription
System_CAPS_pubmethodActivate()

Makes the current Chart control the active chart.

System_CAPS_pubmethodApplyChartTemplate(String)

Applies a standard or custom chart template to the chart.

System_CAPS_pubmethodApplyDataLabels(XlDataLabelsType, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Applies data labels to a point, a series, or all the series in a Chart control.

System_CAPS_pubmethodApplyLayout(Int32, Object)

Applies the layouts shown on the Ribbon.

System_CAPS_pubmethodAxes(Object, XlAxisGroup)

Gets an object that represents either a single axis or a collection of the axes on the chart.

System_CAPS_pubmethodBeginInit()

(Inherited from ISupportInitialize.)

System_CAPS_pubmethodChartGroups(Object)

Gets either a single chart group (a ChartGroup object) or a collection of all the chart groups in the chart (a ChartGroups object).

System_CAPS_pubmethodChartObjects(Object)

Gets an object that represents either a single embedded chart (a ChartObject object) or a collection of all the embedded charts (a ChartObjects object) on the sheet.

System_CAPS_pubmethodChartWizard(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Modifies the properties of the given Chart control. You can use this method to quickly format a Chart control without setting all the individual properties. This method is non-interactive, and it changes only the specified properties.

System_CAPS_pubmethodCheckSpelling(Object, Object, Object, Object)

Checks the spelling of an object. Microsoft Office Excel displays the Spelling dialog box

System_CAPS_pubmethodClearToMatchStyle()

Clears the chart elements formatting to automatic.

System_CAPS_pubmethodCopy(Object, Object)

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubmethodCopyPicture(XlPictureAppearance, XlCopyPictureFormat, XlPictureAppearance)

Copies the chart to the Clipboard as a picture.

System_CAPS_pubmethodDelete()

Deletes a dynamically created Chart control from the worksheet and removes it from the ControlCollection.

System_CAPS_pubmethodDispose()

(Inherited from IDisposable.)

System_CAPS_pubmethodEndInit()

(Inherited from ISupportInitialize.)

System_CAPS_pubmethodEvaluate(Object)

Converts a Microsoft Office Excel name to an object or a value.

System_CAPS_pubmethodExport(String, Object, Object)

Exports the chart in a graphic format.

System_CAPS_pubmethodExportAsFixedFormat(XlFixedFormatType, Object, Object, Object, Object, Object, Object, Object, Object)

Saves the chart in either PDF or XPS format.

System_CAPS_pubmethodGetChartElement(Int32, Int32, Int32, Int32, Int32)

Gets information about the chart element at specified X and Y coordinates.

System_CAPS_pubmethodLocation(XlChartLocation, Object)

Moves the Chart control to a new location.

System_CAPS_pubmethodMove(Object, Object)

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubmethodPaste(Object)

Pastes chart data from the Clipboard into the specified Chart control.

System_CAPS_pubmethodPrintOutEx(Object, Object, Object, Object, Object, Object, Object, Object)

Prints the chart.

System_CAPS_pubmethodPrintPreview(Object)

Shows a preview of the Chart control as it would look when printed.

System_CAPS_pubmethodRefresh()

Updates the cache of the Chart or PivotTable object.

System_CAPS_pubmethodSaveChartTemplate(String)

Saves the current chart as a custom template in the list of available chart templates.

System_CAPS_pubmethodSeriesCollection(Object)

Gets either a single series (a Series object) or a collection of all the series (a SeriesCollection collection) in the chart or chart group.

System_CAPS_pubmethodSetBackgroundPicture(String)

Sets the background graphic for Chart control.

System_CAPS_pubmethodSetDefaultChart(Object)

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

System_CAPS_pubmethodSetElement(MsoChartElementType)

Modifies an element on the chart.

System_CAPS_pubmethodSetSourceData(Range, Object)

Sets the source data range for the Chart control.

NameDescription
System_CAPS_pubeventActivateEvent

Occurs when the Chart control is activated.

System_CAPS_pubeventBeforeDoubleClick

Occurs when the Chart control is double-clicked, before the default double-click action.

System_CAPS_pubeventBeforeRightClick

Occurs when the Chart control is right-clicked, before the default right-click action.

System_CAPS_pubeventBindingContextChanged

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubeventCalculate

Occurs after the Chart control plots new or changed data.

System_CAPS_pubeventDeactivate

Occurs when the selection moves away from the Chart control, causing the Chart control to become deactivated.

System_CAPS_pubeventDisposed

(Inherited from IComponent.)

System_CAPS_pubeventDragOver

Occurs when a range of cells is dragged over a Chart control.

System_CAPS_pubeventDragPlot

Occurs when a range of cells is dragged and dropped on the Chart control.

System_CAPS_pubeventMouseDown

Occurs when a mouse button is pressed when the pointer is over a Chart control.

System_CAPS_pubeventMouseMove

Occurs when the position of the mouse pointer changes over the Chart control.

System_CAPS_pubeventMouseUp

Occurs when a mouse button is released when the pointer is over the Chart control.

System_CAPS_pubeventResize

Occurs when the size of the Chart control is changed.

System_CAPS_pubeventSelectEvent

Occurs when the Chart control is selected.

System_CAPS_pubeventSeriesChange

Occurs when the value of a Chart control data point is changed.

Chart controls provide all the features of native Microsoft.Office.Interop.Excel.Chart objects in the Excel object model. However, Chart controls also expose events. For more information, see Chart Control.

System_CAPS_noteNote

This interface is implemented by the Visual Studio Tools for Office runtime. It is not intended to be implemented in your code. For more information, see Visual Studio Tools for Office Runtime Overview.

This documentation describes the version of this type that is used in Office projects that target the .NET Framework 4 or later. In projects that target the .NET Framework 3.5, this type might have different members and the code examples provided for this type might not work. For documentation about this type in projects that target the .NET Framework 3.5, see the following reference section in the Visual Studio 2008 documentation: http://go.microsoft.com/fwlink/?LinkId=160658.

Return to top
Show: