Bewerken

Delen via


Chart.HasAxis[Object, Object] Property

Definition

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

public:
 property System::Object ^ HasAxis[System::Object ^, System::Object ^] { System::Object ^ get(System::Object ^ Index1, System::Object ^ Index2); void set(System::Object ^ Index1, System::Object ^ Index2, System::Object ^ value); };
public object HasAxis[object Index1, object Index2] { get; set; }
member this.HasAxis(obj * obj) : obj with get, set
Public Property HasAxis(Optional Index1 As Object, Optional Index2 As Object) As Object

Parameters

Index1
Object

Required Object The axis type. Series axes apply only to 3-D charts. Can be one of the XlAxisType constants.

Index2
Object

Optional Object The axis group. 3-D charts have only one set of axes. Can be one of the XlAxisGroup constants.

Property Value

Object

Remarks

You must enter a value for at least one of the parameters when setting this property.

Microsoft Word may create or delete axes if you change the chart type or the AxisGroup property.

Applies to