SciChart.Charting Assembly > SciChart.Charting.Common.Extensions Namespace > MvvmRenderableSeriesExtensions Class > ZoomExtentsWhenReadyAsync Method : ZoomExtentsWhenReadyAsync(IEnumerable<IRenderableSeriesViewModel>,RangeMode,Int32) Method
The collection of series view models to wait on.
The range mode to use for the ZoomExtents operation.
Maximum time in milliseconds to wait for all series to become ready. Defaults to 5000ms.
ZoomExtentsWhenReadyAsync(IEnumerable<IRenderableSeriesViewModel>,RangeMode,Int32) Method
Asynchronously performs a ZoomExtents operation once all series in the collection are ready for manipulation. Returns true if the operation completed successfully, false if it timed out or was a duplicate request.
Syntax
[AsyncStateMachine(SciChart.Charting.Common.Extensions.MvvmRenderableSeriesExtensions/d__4)] 
[DebuggerStepThrough()] 
[Extension()] 
public static Task<bool> ZoomExtentsWhenReadyAsync( 
   IEnumerable<IRenderableSeriesViewModel> viewModels, 
   RangeMode rangeMode, 
   int operationTimeoutMs 
)

Parameters

viewModels
The collection of series view models to wait on.
rangeMode
The range mode to use for the ZoomExtents operation.
operationTimeoutMs
Maximum time in milliseconds to wait for all series to become ready. Defaults to 5000ms.
Requirements

Target Platforms: Windows 7, 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