ZedGraph LogoZedGraph Class Library Documentation
GetYAxisIndex Method (pane)
NamespacesZedGraphCurveItemGetYAxisIndex(GraphPane)
Get the index of the Y Axis in the YAxis or Y2Axis list to which this CurveItem belongs.
Declaration Syntax
C#Visual BasicVisual C++
public int GetYAxisIndex(
	GraphPane pane
)
Public Function GetYAxisIndex ( _
	pane As GraphPane _
) As Integer
public:
int GetYAxisIndex (
	GraphPane^ pane
)
Parameters
pane (GraphPane)
The GraphPane object to which this curve belongs.
Return Value
An integer value indicating which index position in the list applies to this CurveItem
Remarks
This method safely retrieves a Y Axis index into 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, which is index zero.

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621