ZoomExtentsWhenReadyAsync(IRenderableSeriesViewModel,RangeMode,Int32) Method
Asynchronously performs a ZoomExtents operation once a single series is 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__6)] [DebuggerStepThrough()] [Extension()] public static Task<bool> ZoomExtentsWhenReadyAsync( IRenderableSeriesViewModel viewModel, RangeMode rangeMode, int operationTimeoutMs )
Parameters
- viewModel
- The series view model to wait on.
- rangeMode
- The range mode to use for the ZoomExtents operation.
- operationTimeoutMs
- Maximum time in milliseconds to wait for the 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