ScrollRangeIntoView Method (CategoryXAxis)

Scrolls the CategoryXAxis so that the provided range is brought into view.
Public Sub ScrollRangeIntoView( _
   ByVal minimum As Double, _
   ByVal maximum As Double _
public void ScrollRangeIntoView( 
   double minimum,
   double maximum


The minimum category index to bring into view.
The maximum category index to bring into view.
This method adjusts the WindowRect in order to scroll horizontally to the desired location. This means that the X axis zoom level may change as it tries to fit the minimum and maximum in view. It will not adjust the Y axis zoom level. Note: The minimum and maximum are expected to be indexes referring to the items inside the CategoryXAxis ItemsSource.

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also