public interface IViewportManager extends ISciChartController, com.scichart.core.framework.IAttachable
Modifier and Type | Method and Description |
---|---|
void |
invalidateParentSurface()
May be called to trigger a redraw on the parent
SciChartSurface |
void |
onVisibleRangeChanged(IAxis axis,
com.scichart.data.model.IRange oldRange,
com.scichart.data.model.IRange newRange,
boolean isAnimating)
Called when the VisibleRange changes for an axis.
|
void |
tryPerformAutoRange(IAxis axis)
Called by the
SciChartSurface during render to perform autoranging. |
void |
updateXAxis(IAxis xAxis)
Called by the
SciChartSurface during render to update XAxis VisibleRange. |
void |
updateYAxis(IAxis yAxis)
Called by the
SciChartSurface during render to update YAxis VisibleRange. |
animateZoomExtents, animateZoomExtentsX, animateZoomExtentsY, zoomExtents, zoomExtentsX, zoomExtentsY
invalidateElement
void onVisibleRangeChanged(IAxis axis, com.scichart.data.model.IRange oldRange, com.scichart.data.model.IRange newRange, boolean isAnimating)
axis
- THe axis instanceoldRange
- The old VisibleRangenewRange
- The new VisibleRangeisAnimating
- Flag indicating whether the VisibleRange is animatingvoid updateXAxis(IAxis xAxis)
SciChartSurface
during render to update XAxis VisibleRange. Override in derived types to set a custom valuexAxis
- The XAxis to updatevoid updateYAxis(IAxis yAxis)
SciChartSurface
during render to update YAxis VisibleRange. Override in derived types to set a custom valueyAxis
- The YAxis to updatevoid tryPerformAutoRange(IAxis axis)
SciChartSurface
during render to perform autoranging. Override in derived types to set a custom valueaxis
- The IAxis
instance to perform autorange onvoid invalidateParentSurface()
SciChartSurface