Back to Devexpress

XYDiagram2D.FindAxisYByName(String) Method

corelibraries-devexpress-dot-xtracharts-dot-xydiagram2d-dot-findaxisybyname-x28-system-dot-string-x29.md

latest1.6 KB
Original Source

XYDiagram2D.FindAxisYByName(String) Method

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

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public Axis2D FindAxisYByName(
    string name
)
vb
Public Function FindAxisYByName(
    name As String
) As Axis2D

Parameters

NameTypeDescription
nameString

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

|

Returns

TypeDescription
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

XYDiagram2D Class

XYDiagram2D Members

DevExpress.XtraCharts Namespace