Skip to main content
A newer version of this page is available. .

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.v18.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