Obtains the group and series indices of the legend entry nearest to the specified client coordinates. Mouse coordinates are specified in client coordinates.
[Visual Basic]
Public Function SeriesFromCoord( _
ByVal XCoord As Integer, _
ByVal YCoord As Integer, _
ByRef GroupIndex As Integer, _
ByRef SeriesIndex As Integer _
) As Boolean
[C#]
public bool SeriesFromCoord(
int XCoord,
int YCoord,
ref int GroupIndex,
ref int SeriesIndex
);
[Delphi]
public function SeriesFromCoord(
XCoord: Int32;
YCoord: Int32;
var GroupIndex: Int32;
var SeriesIndex: Int32
): Boolean;
Parameters
XCoord
X client coordinate.
YCoord
Y client coordinate.
GroupIndex
Group index.
SeriesIndex
Series index.
Return Value
The return value indicates successful calculation.
See Also
Legend Class | Legend Members | C1.Win.C1Chart Namespace | Legend Class
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |