Chart.HasAxis (PowerPoint)

Returns or sets which axes exist on the chart. Read/write Variant.

You must enter a value for at least one of the parameters when you set this property. Microsoft Word may create or delete axes if you change the chart type or the AxisGroup property.

HasAxis (Index1, Index2)


ActivePresentation.Slides(1).Shapes(1).Chart.HasAxis = True

Arguments

Optional arguments

The following arguments are optional

Index1 (Long) - The axis type. Series axes apply only to 3D charts. Can be one of the XlAxisType constants.

Index2 (Long) - The axis group. 3D charts have only one set of axes. Can be one of the XlAxisGroup constants.