XScroll

 

This event is generated whenever the user clicks on the horizontal scrollbar.  Use this event to perform operations specific to whenever a horizontal scroll is performed.

                                                                                                                                                                                                                                                                     

Example

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

Private Sub XYChartCtl1_XScroll()              

    Dim newMinX as Double, newMaxX as Double

           

    newMinX = XYChartCtl1.MinXValue(1)      'Obtain min x-value (of first x-axis) of scrolled area

    newMaxX = XYChartCtl1.MaxXValue(1)      'Obtain max x-value (of first x-axis) of scrolled area

End Sub

 

See Also

Events     YScroll