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



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

Private Sub XYChartCtl1_ZoomOutComplete()              

    With XYChartCtl1

        If .MaxXValue(1) = .AbsMaxXValue(1) And .MaxYValue(1) = .AbsMaxYValue(1) Then 
Trend.Enable = TRUE 'Enable trending after user zooms out all
End If

    End With

End Sub


See Also

Events     ZoomInSelected     ZoomInComplete     ZoomOutSelected     ZoomOutAllSelected     ZoomOutAllComplete