This event is generated when the user is in the Zoom in/out mode (see Toolbar) and presses on the right-mouse button over the plot area.  Use this event to perform operations before a zoom-out is performed, that is, before the chart is redrawn with the new zoom-out settings.



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

Private Sub XYChartCtl1_ZoomOutSelected()              

    XYChartCtl1.Profile(1).SampleStep = 2 'Display every other value for Profile 1

End Sub


See Also

Events     ZoomInSelected     ZoomInComplete     ZoomOutComplete     ZoomOutAllSelected     ZoomOutAllComplete