Chart.Axes(Object, XlAxisGroup) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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