ViewportManagerBase Class Members
The following tables list the members exposed by ViewportManagerBase.
Protected Constructors
Name | Description | |
---|---|---|
ViewportManagerBase Constructor |
Public Properties
Name | Description | |
---|---|---|
IsAttached | Gets the value indicating whether a ViewportManagerBase has the SciChart.Charting.Visuals.SciChartSurface attached to. | |
IsSuspended | Gets a value indicating whether updates for the target are currently suspended | |
Services | Gets 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 |
Public Methods
Name | Description | |
---|---|---|
AnimateZoomExtents | Zooms to extents with the specified animation duration | |
AnimateZoomExtentsX | Zooms the chart to the extents of the data in the X-Direction | |
AnimateZoomExtentsY | Zooms the chart to the extents of the data in the Y-Direction, accounting for the current data in view in the X-direction | |
AttachSciChartSurface | Called when the ViewportManagerBase is attached to a parent SciChart.Charting.Visuals.SciChartSurface | |
BeginInvoke | Asynchronously invokes the action on the UI Thread | |
CalculateAutoRange | Overridden 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 | |
CalculateNewXAxisRange | Called by the SciChart.Charting.Visuals.SciChartSurface during render to calculate the new XAxis VisibleRange. Override in derived types to return a custom value | |
CalculateNewYAxisRange | Called by the SciChart.Charting.Visuals.SciChartSurface during render to calculate the new YAxis VisibleRange. Override in derived types to return a custom value | |
DecrementSuspend | Called by IUpdateSuspender each time a target suspender is disposed. When the final target suspender has been disposed, ResumeUpdates is called | |
DetachSciChartSurface | Called when the ViewportManagerBase is detached from a parent SciChart.Charting.Visuals.SciChartSurface | |
InvalidateElement | Asynchronously requests that the element redraws itself plus children. Will be ignored if the element is ISuspendable and currently IsSuspended (within a SuspendUpdates/ResumeUpdates call) | |
InvalidateParentSurface | Triggers a redraw on the parent surface with the specified RangeMode | |
OnParentSurfaceRendered | Called when the SciChart.Charting.Visuals.ISciChartSurface is rendered. | |
OnVisibleRangeChanged | Called when the SciChart.Charting.Visuals.Axes.IAxisParams.VisibleRange changes for an axis. Override in derived types to get a notification of this occurring | |
ResumeUpdates | Resumes updates on the target, intended to be called by IUpdateSuspender | |
SuspendUpdates | Suspends drawing updates on the target until the returned object is disposed, when a final draw call will be issued | |
ZoomExtents | Zooms the chart to the extents of the data, plus any X or Y Grow By fraction set on the X and Y Axes | |
ZoomExtentsX | Zooms the chart to the extents of the data in the X-Direction | |
ZoomExtentsY | Zooms the chart to the extents of the data in the Y-Direction, accounting for the current data in view in the X-direction |
Protected Methods
Name | Description | |
---|---|---|
OnCalculateNewXRange | 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 | |
OnCalculateNewYRange | 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 | |
OnInvalidateParentSurface | Raises the InvalidateParentSurface event. |
Extension Methods
Name | Description | |
---|---|---|
DebugFinalizer<T> | Notifies that finalizer has been invoked | |
ToDoubleArray | Overloaded. Converts an System.IComparable array to double array | |
ToEnumerable<T> | Yields a single item, converting it to System.Collections.IEnumerable. | |
ToStringArray2D<T> |
See Also