Edit

Share via


Chart.Axes(Object, XlAxisGroup) Method

Definition

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

public object Axes (object Type, Microsoft.Office.Interop.Word.XlAxisGroup AxisGroup = Microsoft.Office.Interop.Word.XlAxisGroup.xlPrimary);
abstract member Axes : obj * Microsoft.Office.Interop.Word.XlAxisGroup -> obj
Public Function Axes (Optional Type As Object, Optional AxisGroup As XlAxisGroup = Microsoft.Office.Interop.Word.XlAxisGroup.xlPrimary) As Object

Parameters

Type
Object

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

Returns

Object

Applies to