XY Chart NET 3 Control Reference
ZoomInSelected Event

This event is generated when the user selects the Zoom in/out toolbar button (see Toolbar) and the plot area to zoom in on.   It is also generated when the user calls the SetZoomMode method with True as the parameter.   Use this event to perform operations before a zoom-in is performed, that is, before the chart is redrawn with the new zoom-in settings.

Syntax
[Visual Basic]
Event ZoomInSelected()
[C#]
ZoomInSelected()
[C++]
ZoomInSelected()
       
Example
' XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.

Private Sub XYChartNETCtl1_ZoomInSelected() Handles XYChartNETCtl1.ZoomInSelected
   XYChartNETCtl1.Trend.Enable = FALSE  'Disable trending after user zooms in
End Sub
// XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.

private void XYChartNETCtl1_ZoomInSelected()
{
   XYChartNETCtl1.Trend.Enable = false;  //Disable trending after user zooms in
}
// XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.

private:
   System::Void XYChartNETCtl1_ZoomInSelected()
   {
      XYChartNETCtl1->Trend->Enable = false;  //Disable trending after user zooms in
   }
See Also

 

 


© 2003 - 2013 ControlEng Corporation. All rights reserved.