XY Chart NET 3 Control Reference
LegendMouseUp Event

This event is generated whenever the mouse is positioned over the Legend and the user releases the mouse button.  The mouse button (left, right, or middle) must initially be pressed over the Legend.   Refer to Chart Overview for an illustration of XY Chart NET's major components.

Each row within the legend consists of a label (Y-axis scale label or Profile label).  If the mouse is released over the Y-Scale label, the event will pass along the scale's index via its YScaleLabel parameter.  If the mouse is released over the Profile label, the event will pass along the profile's index via its Profile parameter.

Syntax
[Visual Basic]
Event LegendMouseUp(Button As MouseButtons, Profile As Integer, YScaleLabel As Integer, xPos As Integer, yPos As Integer)
[C#]
LegendMouseUp(System.Windows.Forms.MouseButtons Button, int Profile, int YScaleLabel, int xPos, int yPos)
[C++]
LegendMouseUp(System::Windows::Forms::MouseButtons Button, System::Int32 Profile, System::Int32 YScaleLabel, System::Int32 xPos, System::Int32 yPos)
       
Parameters
Button
Indicates which mouse button was pressed.
Profile
A value greater than -1 indicates the Profile's index.
YScaleLabel
A value greater than -1 indicates the Y-Scale's index.
xPos
Indicates the x-position within the chart control, in pixels.
yPos
Indicates the y-position within the chart control, in pixels.
See Also

 

 


© 2003 - 2013 ControlEng Corporation. All rights reserved.