public abstract class ViewportManagerBase2D<TParentSurface extends ISciChartSurface> extends ViewportManagerBase<TParentSurface>
SciChartSurface
.parentSurface
Modifier | Constructor and Description |
---|---|
protected |
ViewportManagerBase2D(java.lang.Class<TParentSurface> parentSurfaceType) |
Modifier and Type | Method and Description |
---|---|
void |
animateZoomExtents(long duration)
Zooms to extents with the specified animation duration
|
void |
animateZoomExtentsX(long duration)
Zooms the chart to the extents of the data in the X-Direction
|
void |
animateZoomExtentsY(long duration)
Zooms the chart to the extents of the data in the Y-Direction, accounting for the current data in view in the X-direction
|
void |
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
|
void |
zoomExtentsX()
Zooms the chart to the extents of the data in the X-Direction
|
void |
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
|
attachTo, decrementSuspend, detach, getIsSuspended, getUpdateSuspenderCount, invalidateElement, invalidateParentSurface, isAttached, onApplyAutoRange, onUpdateXAxis, onUpdateYAxis, onVisibleRangeChanged, resumeUpdates, suspendUpdates, tryPerformAutoRange, updateXAxis, updateYAxis
protected ViewportManagerBase2D(java.lang.Class<TParentSurface> parentSurfaceType)
public void zoomExtents()
public void animateZoomExtents(long duration)
duration
- The duration of animation when zooming to extentspublic void zoomExtentsX()
public void animateZoomExtentsX(long duration)
duration
- The duration of animation when zooming to extentspublic void animateZoomExtentsY(long duration)
duration
- The duration of animation when zooming to extentspublic void zoomExtentsY()