ComponentOne Chart for .NET (2.0) Search HelpCentral 

C1Chart.ChartRegionFromCoord Method

Return the enumerated value indicating the topmost displayed region at the specified coordinates.

[Visual Basic]

Public Function ChartRegionFromCoord( _

ByVal XCoord As Integer, _

ByVal YCoord As Integer _

) As ChartRegionEnum

[C#]

public ChartRegionEnum ChartRegionFromCoord(

int XCoord,

int YCoord

);

[Delphi]

public function ChartRegionFromCoord(

XCoord: Int32;

YCoord: Int32

): ChartRegionEnum;

Parameters

XCoord

x coordinate

YCoord

y coordinate

Return Value

Chart region

Remarks

Each chart element drawn on the face of the control, including the Chart itself, the Header, the Footer, the Legend, the ChartArea and the PlotArea form a region which is identified by the enumerated value returned by this method. The region under the mouse cursor can be identified by passing the mouse coordinates to this method.

See Also

C1Chart Class | C1Chart Members | C1.Win.C1Chart Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.