XY Chart NET 3 Control Reference
PlotClick Event

This event is generated whenever the user clicks the mouse (left, middle, or right button) over the plot area.  Refer to Chart Overview for an illustration of XY Chart NET's major components.

If Y-Stacking is being used, the chart will display more than one plot area.  In this case, a PlotClick event will not be raised if the gap between the plots is clicked on.  Instead, a Click event is raised.

Syntax
[Visual Basic]
Event PlotClick(Index As Integer, xPos As Integer, yPos As Integer)
[C#]
PlotClick(int Index, int xPos, int yPos)
[C++]
PlotClick(System::Int32 Index, System::Int32 xPos, System::Int32 yPos)
       
Parameters
Index
A value greater than -1 indicates the graph's y-stacked index.  Y-stacked graphs are drawn with index 0 at the top, then index 1, and so on.
xPos
Indicates the x-position within the chart in pixels.
yPos
Indicates the y-position within the chart in pixels.
See Also

 

 


© 2003 - 2013 ControlEng Corporation. All rights reserved.