Obtains the group and series indices of the legend entry nearest to the specified client coordinates. Mouse coordinates are specified in client coordinates.

Namespace:  C1.Win.C1Chart
Assembly:  C1.Win.C1Chart.2 (in C1.Win.C1Chart.2.dll)

Syntax

C#
public bool SeriesFromCoord(
	int XCoord,
	int YCoord,
	ref int GroupIndex,
	ref int SeriesIndex
)
Visual Basic
Public Function SeriesFromCoord ( _
	XCoord As Integer, _
	YCoord As Integer, _
	ByRef GroupIndex As Integer, _
	ByRef SeriesIndex As Integer _
) As Boolean

Parameters

XCoord
Type: System..::..Int32
X client coordinate.
YCoord
Type: System..::..Int32
Y client coordinate.
GroupIndex
Type: System..::..Int32%
Group index.
SeriesIndex
Type: System..::..Int32%
Series index.

Return Value

The return value indicates successful calculation.

See Also