[]
        
(Showing Draft Content)

C1.Win.C1Chart.C1Chart.ChartRegionFromCoord

ChartRegionFromCoord Method

ChartRegionFromCoord(int, int)

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

Declaration
public ChartRegionEnum ChartRegionFromCoord(int XCoord, int YCoord)
Parameters
Type Name Description
int XCoord

x coordinate

int YCoord

y coordinate

Returns
Type Description
ChartRegionEnum

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.