_Chart.HasAxis[Object, Object] Property
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.
Returns or sets which axes exist on the chart.
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; }
Public Property HasAxis(Optional Index1 As Object, Optional Index2 As Object) As Object
Parameters
- Index1
- Object
Optional 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
Remarks
Microsoft Excel may create or delete axes if you change the chart type or the AxisGroup property.