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

    duration

    The 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 the X-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 the X-direction.

    Declaration

    Objective-C

    - (void)animateZoomExtentsYWithDuration:(NSTimeInterval)duration;

    Swift

    func animateZoomExtentsY(withDuration duration: TimeInterval)

    Parameters

    duration

    The duration of animation when zooming to extents.

  • 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

    duration

    The duration of animation when zooming to extents.