This event is generated when the user selects the Zoom in/out toolbar button (see Toolbar) and the plot area to zoom in on.  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.



'XYChartCtl1 is the name of the XY Chart control instance placed on the form

Private Sub XYChartCtl1_ZoomInSelected()  

    XYChartCtl1.Profile(1).SampleStep = 1 'Display all values for Profile 1
End Sub                                        


See Also

Events     ZoomInComplete     ZoomOutSelected     ZoomOutComplete     ZoomOutAllSelected     ZoomOutAllComplete