_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)
Syntax
'Declaration
Function Axes ( _
Type As Object, _
AxisGroup As XlAxisGroup _
) As Object
'Usage
Dim instance As _Chart
Dim Type As Object
Dim AxisGroup As XlAxisGroup
Dim returnValue As Object
returnValue = instance.Axes(Type, AxisGroup)
Object Axes(
Object Type,
XlAxisGroup AxisGroup
)
Parameters
Type
Type: System.ObjectOptional 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).
AxisGroup
Type: Microsoft.Office.Interop.Excel.XlAxisGroupOptional 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