Skip to main content

SecondaryAxisCollection.GetAxisByName(String) Method

OBSOLETE

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

Gets an axis within a secondary axes collection by its name.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

Declaration

[Obsolete("This method is now obsolete. Use the SecondaryAxisXCollection.GetAxisByName or SecondaryAxisYCollection.GetAxisByName method instead.")]
public Axis GetAxisByName(
    string name
)

Parameters

Name Type Description
name String

A String that specifies the name of the axis to be found.

Returns

Type Description
Axis

A Axis object that represents the axis with the specified name.

Remarks

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

For the Swift Plot, the SwiftPlotDiagramSecondaryAxisXCollection.GetAxisByName and SwiftPlotDiagramSecondaryAxisYCollection.GetAxisByName methods should be used.

See Also