Gets the index of the legend series entry closest to the specified coordinates.

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

Syntax

C#
public bool SeriesFromCoord(
	int x,
	int y,
	ref int seriesIndex
)
Visual Basic
Public Function SeriesFromCoord ( _
	x As Integer, _
	y As Integer, _
	ByRef seriesIndex As Integer _
) As Boolean

Parameters

x
Type: System..::..Int32
X client coordinate in pixels.
y
Type: System..::..Int32
Y client coordinate in pixels.
seriesIndex
Type: System..::..Int32%
Series index.

Return Value

This method returns true when a legend series entry exists at the specified coordinate. The seriesIndex is set as it is passed by reference.

See Also