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

XYDiagram2D.FindAxisYByName(String) Method

Gets an Y-axis within the chart’s axis collection by its name.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

Declaration

public Axis2D FindAxisYByName(
    string name
)

Parameters

Name Type Description
name String

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

Returns

Type Description
Axis2D

An Axis2D object that represents the Y-axis with the specified name.

Remarks

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

See Also