iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCIChartController
@protocol ISCIChartController <ISCIInvalidatableElement, ISCISuspendable>
Defnies the protocol to a subset of methods on the SCIChartSurface.
-
Zooms the chart to the extents of the data, plus any X or Y Grow By fraction set on the X and Y Axes.
Declaration
Objective-C
- (void)zoomExtents;Swift
func zoomExtents() -
Zooms to extents with the specified animation duration.
Declaration
Objective-C
- (void)animateZoomExtentsWithDuration:(NSTimeInterval)duration;Swift
func animateZoomExtents(withDuration duration: TimeInterval)Parameters
durationThe duration of animation when zooming to extents.
-
Zooms to extents with the specified animation duration.
Declaration
Objective-C
- (void)animateZoomExtentsWithDuration:(NSTimeInterval)duration xAxes:(SCIAxisCollection *)xAxes yAxes:(SCIAxisCollection *)yAxes;Swift
func animateZoomExtents(withDuration duration: TimeInterval, xAxes: SCIAxisCollection!, yAxes: SCIAxisCollection!)Parameters
durationThe duration of animation when zooming to extents.
xAxesThe collection of X axes to which this modifier applies. Pass
nilto apply to all X axes.yAxesThe collection of Y axes to which this modifier applies. Pass
nilto apply to all Y axes. -
Zooms the chart to the extents of the data in the
Y-Direction, accounting for the current data in view in theX-direction.Declaration
Objective-C
- (void)zoomExtentsY;Swift
func zoomExtentsY() -
Zooms the chart to the extents of the data in the
Y-Direction, accounting for the current data in view in theX-direction.Declaration
Objective-C
- (void)animateZoomExtentsYWithDuration:(NSTimeInterval)duration;Swift
func animateZoomExtentsY(withDuration duration: TimeInterval)Parameters
durationThe duration of animation when zooming to extents.
-
Zooms the chart to the extents of the data in the
Y-Direction, accounting for the current data in view in theX-direction.Declaration
Objective-C
- (void)animateZoomExtentsYWithDuration:(NSTimeInterval)duration yAxes:(SCIAxisCollection *)yAxes;Swift
func animateZoomExtentsY(withDuration duration: TimeInterval, yAxes: SCIAxisCollection!)Parameters
durationThe duration of animation when zooming to extents.
yAxesThe collection of Y axes to which this modifier applies. Pass
nilto apply to all Y axes. -
Zooms the chart to the extents of the data in the
X-Direction.Declaration
Objective-C
- (void)zoomExtentsX;Swift
func zoomExtentsX() -
Zooms the chart to the extents of the data in the
X-Direction.Declaration
Objective-C
- (void)animateZoomExtentsXWithDuration:(NSTimeInterval)duration;Swift
func animateZoomExtentsX(withDuration duration: TimeInterval)Parameters
durationThe duration of animation when zooming to extents.
-
Zooms the chart to the extents of the data in the
X-Direction.Declaration
Objective-C
- (void)animateZoomExtentsXWithDuration:(NSTimeInterval)duration xAxes:(SCIAxisCollection *)xAxes;Swift
func animateZoomExtentsX(withDuration duration: TimeInterval, xAxes: SCIAxisCollection!)Parameters
durationThe duration of animation when zooming to extents.
xAxesThe collection of X axes to which this modifier applies. Pass
nilto apply to all X axes.
View on GitHub