Skip to main content

SecondaryAxisCollection.Remove(Axis) Method

OBSOLETE

This method is now obsolete. Use the SecondaryAxisXCollection.Remove or SecondaryAxisYCollection.Remove method instead.

Removes the specified Axis object from the collection.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

NuGet Package: DevExpress.Charts

#Declaration

[Obsolete("This method is now obsolete. Use the SecondaryAxisXCollection.Remove or SecondaryAxisYCollection.Remove method instead.")]
public void Remove(
    Axis axis
)

#Parameters

Name Type Description
axis Axis

An Axis object to be removed from the collection.

#Remarks

Note that calling the Remove method also disposes all elements removed from the collection.

See Also