CreateRenderTimer Method (IRenderTimerFactory)
Creates a IRenderScheduler, a class which schedules rendering. There are default implementations built in to SciChart including RenderTimer which uses DispatcherTimer and SharedRenderTimer which uses shared System.Timers.Timer for synchronized rendering of multiple SciChartSurfaces (all charts will be triggered by the same timer)
Syntax
IRenderScheduler CreateRenderTimer( Dispatcher dispatcher, Nullable<double> maxFrameRate, Action onRenderTimeElapsed )
Parameters
- dispatcher
- The current application dispatcher
- maxFrameRate
- Maximum frame rate. If null, chooses the default value (60 FPS). Else, uses the provided value
- onRenderTimeElapsed
- Callback function for when the render timer elapses
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