Chart.Axes Method
Returns a collection of axes on the chart.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.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.Object
The axis to return. Can be one of the following XlAxisType constants: xlValue, xlCategory, or xlSeriesAxis (XlAxisType is valid only for 3-D charts).
- AxisGroup
Type: Microsoft.Office.Interop.PowerPoint.XlAxisGroup
One of the enumeration values that specifies the axis group. The default is xlPrimary. Note that 3-D charts have only one axis group.
Return Value
Type: System.Object