Skip to main content

SwiftPlotDiagramSecondaryAxisXCollection.GetAxisByName(String) Method

Gets an X-axis within a secondary axes collection of the Swift Plot by its name.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

Declaration

public SwiftPlotDiagramSecondaryAxisX GetAxisByName(
    string name
)

Parameters

Name Type Description
name String

A String which specifies the name of the secondary X-axis to find.

Returns

Type Description
SwiftPlotDiagramSecondaryAxisX

A SwiftPlotDiagramSecondaryAxisX object that represents the secondary Y-axis with the specified name.

Remarks

Use the GetAxisByName method, to obtain a secondary X-axis within a secondary axes collection of the Swift Plot or Swift Point series by the axis name.

Note that this method finds only the first occurrence of an element with the specified name. If no element with the specified name is found, then this method returns null (Nothing in Visual Basic).

See Also