This documentation is archived and is not being maintained.

_Chart.Axes Method

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

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

Object Axes(
	Object Type,
	XlAxisGroup AxisGroup


Type: System.Object

Optional Object. Specifies the axis to return. Can be one of the following XlAxisType constants: xlValue, xlCategory, or xlSeriesAxis (xlSeriesAxis is valid only for 3-D charts).

Type: Microsoft.Office.Interop.Excel.XlAxisGroup

Optional XlAxisGroup. Specifies the axis group. If this argument is omitted, the primary group is used. 3-D charts have only one axis group.

Return Value

Type: System.Object