ZedGraph LogoZedGraph Class Library Documentation
GetYAxis Method (pane)
NamespacesZedGraphCurveItemGetYAxis(GraphPane)
Get the Y Axis instance (either YAxis or Y2Axis) to which this CurveItem belongs.
Declaration Syntax
C#Visual BasicVisual C++
public Axis GetYAxis(
	GraphPane pane
)
Public Function GetYAxis ( _
	pane As GraphPane _
) As Axis
public:
Axis^ GetYAxis (
	GraphPane^ pane
)
Parameters
pane (GraphPane)
The GraphPane object to which this curve belongs.
Return Value
Either a YAxis or Y2Axis to which this CurveItem belongs.
Remarks
This method safely retrieves a Y Axis instance from either the YAxisList or the Y2AxisList using the values of YAxisIndex and IsY2Axis. If the value of YAxisIndex is out of bounds, the default YAxis or Y2Axis is used.

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621