WPF Charting Documentation - SciChart WPF Charts SDK v5.x
DefaultViewportManager Class Members
Properties  Methods 


The following tables list the members exposed by DefaultViewportManager.

Public Constructors
 NameDescription
Public ConstructorDefaultViewportManager Constructor  
Top
Public Properties
 NameDescription
Public PropertyIsAttachedGets the value indicating whether a ViewportManagerBase has the SciChart.Charting.Visuals.SciChartSurface attached to. (Inherited from SciChart.Charting.ViewportManagers.ViewportManagerBase)
Public PropertyIsSuspendedGets a value indicating whether updates for the target are currently suspended (Inherited from SciChart.Charting.ViewportManagers.ViewportManagerBase)
Public PropertyServicesGets the SciChart.Core.Utility.ServiceContainer which provides access to services throughout SciChart. ServiceContainers are created one per SciChart.Charting.Visuals.SciChartSurface instance, and shared between peripheral components such as SciChart.Charting.Visuals.Axes.AxisBase, SciChart.Charting.Visuals.RenderableSeries.BaseRenderableSeries, SciChart.Charting.ChartModifiers.ChartModifierBase instances. For a full list of available services, see the remarks on SciChart.Core.Utility.ServiceContainer (Inherited from SciChart.Charting.ViewportManagers.ViewportManagerBase)
Top
Public Methods
 NameDescription
Public MethodAnimateZoomExtentsZooms to extents with the specified animation duration (Inherited from SciChart.Charting.ViewportManagers.ViewportManagerBase)
Public MethodAnimateZoomExtentsXZooms the chart to the extents of the data in the X-Direction (Inherited from SciChart.Charting.ViewportManagers.ViewportManagerBase)
Public MethodAnimateZoomExtentsYZooms the chart to the extents of the data in the Y-Direction, accounting for the current data in view in the X-direction (Inherited from SciChart.Charting.ViewportManagers.ViewportManagerBase)
Public MethodAttachSciChartSurfaceCalled when the ViewportManagerBase is attached to a parent SciChart.Charting.Visuals.SciChartSurface (Inherited from SciChart.Charting.ViewportManagers.ViewportManagerBase)
Public MethodBeginInvokeAsynchronously invokes the action on the UI Thread (Inherited from SciChart.Charting.ViewportManagers.ViewportManagerBase)
Public MethodCalculateAutoRangeOverridden by derived types, called when the parent SciChart.Charting.Visuals.SciChartSurface requests to perform autoranging. The Range returned by this method will be applied to the chart on render (Inherited from SciChart.Charting.ViewportManagers.ViewportManagerBase)
Public MethodCalculateNewXAxisRangeCalled by the SciChart.Charting.Visuals.SciChartSurface during render to calculate the new XAxis VisibleRange. Override in derived types to return a custom value (Inherited from SciChart.Charting.ViewportManagers.ViewportManagerBase)
Public MethodCalculateNewYAxisRangeCalled by the SciChart.Charting.Visuals.SciChartSurface during render to calculate the new YAxis VisibleRange. Override in derived types to return a custom value (Inherited from SciChart.Charting.ViewportManagers.ViewportManagerBase)
Public MethodDecrementSuspendCalled by IUpdateSuspender each time a target suspender is disposed. When the final target suspender has been disposed, ResumeUpdates is called (Inherited from SciChart.Charting.ViewportManagers.ViewportManagerBase)
Public MethodDetachSciChartSurfaceCalled when the ViewportManagerBase is detached from a parent SciChart.Charting.Visuals.SciChartSurface (Inherited from SciChart.Charting.ViewportManagers.ViewportManagerBase)
Public MethodInvalidateElementAsynchronously requests that the element redraws itself plus children. Will be ignored if the element is ISuspendable and currently IsSuspended (within a SuspendUpdates/ResumeUpdates call) (Inherited from SciChart.Charting.ViewportManagers.ViewportManagerBase)
Public MethodInvalidateParentSurfaceTriggers a redraw on the parent surface with the specified RangeMode (Inherited from SciChart.Charting.ViewportManagers.ViewportManagerBase)
Public MethodOnParentSurfaceRenderedOverridden. Called when the SciChart.Charting.Visuals.ISciChartSurface is rendered.  
Public MethodOnVisibleRangeChangedOverridden. Called when the SciChart.Charting.Visuals.Axes.IAxisParams.VisibleRange changes for an axis. Override in derived types to get a notification of this occurring  
Public MethodResumeUpdatesResumes updates on the target, intended to be called by IUpdateSuspender (Inherited from SciChart.Charting.ViewportManagers.ViewportManagerBase)
Public MethodSuspendUpdatesSuspends drawing updates on the target until the returned object is disposed, when a final draw call will be issued (Inherited from SciChart.Charting.ViewportManagers.ViewportManagerBase)
Public MethodZoomExtentsZooms the chart to the extents of the data, plus any X or Y Grow By fraction set on the X and Y Axes (Inherited from SciChart.Charting.ViewportManagers.ViewportManagerBase)
Public MethodZoomExtentsXZooms the chart to the extents of the data in the X-Direction (Inherited from SciChart.Charting.ViewportManagers.ViewportManagerBase)
Public MethodZoomExtentsYZooms the chart to the extents of the data in the Y-Direction, accounting for the current data in view in the X-direction (Inherited from SciChart.Charting.ViewportManagers.ViewportManagerBase)
Top
Protected Methods
 NameDescription
Protected MethodOnCalculateNewXRangeOverridden. Overridden by derived types, called when the parent SciChart.Charting.Visuals.SciChartSurface requests the XAxis VisibleRange. The Range returned by this method will be applied to the chart on render  
Protected MethodOnCalculateNewYRangeOverridden. Overridden by derived types, called when the parent SciChart.Charting.Visuals.SciChartSurface requests a YAxis VisibleRange. The Range returned by this method will be applied to the chart on render  
Protected MethodOnInvalidateParentSurfaceRaises the InvalidateParentSurface event. (Inherited from SciChart.Charting.ViewportManagers.ViewportManagerBase)
Top
Extension Methods
 NameDescription
Public Extension MethodToEnumerable<T>Yields a single item, converting it to System.Collections.IEnumerable.
Public Extension MethodToStringArray2D<T>
Top
See Also

Reference

DefaultViewportManager Class
SciChart.Charting.ViewportManagers Namespace

 

 


SCICHART ® is a Registered Trademark in the UK, US and EU. Copyright SciChart Ltd 2011-2018.

Send Feedback