Events

An event occurs as a result of an action performed by the user.  XY Chart NET generates a number of events that allows the user to act upon and perform specific operations.

Handling events in Visual Basic

To act upon an event select the XY Chart NET control’s instance name from the Class Name drop-down list box:


Next, select the control’s event from the Method Name drop-down list box:

Handling events in C# and C++

To act upon an event, go to design view, select the XY Chart NET control and then select the Events tab from the Properties window.


Next, double-click on the desired event to generate an event handler.


XY Chart NET Events

The following table summarizes the events generated by the XY Chart NET control.  Click on an Event link to obtain further information.

Click PrintButtonSelected
CrossHairsLeave PrintPreviewButtonSelected
CrossHairsMove SaveImageButtonSelected
CrossHairsNotSelected XScaleClick
CrossHairsSelected XScaleDoubleClick
DoubleClick XScaleMouseDown
DrawGridLines XScaleMouseMove
DrawProfile XScaleMouseUp
DrawProfilesDone XScroll
ExportDataButtonSelected YScaleClick
LegendClick YScaleDoubleClick
LegendDoubleClick YScaleMouseDown
LegendMouseDown YScaleMouseMove
LegendMouseMove YScaleMouseUp
LegendMouseUp YScroll
PageSetupButtonSelected ZoomInComplete
PlotClick ZoomInSelected
PlotDoubleClick ZoomOutAllComplete
PlotMouseDown ZoomOutAllSelected
PlotMouseMove ZoomOutComplete
PlotMouseUp ZoomOutSelected

See Also

Properties | Methods