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;
  • Zooms to extents with the specified animation duration.

    Declaration

    Objective-C

    - (void)animateZoomExtentsWithDuration:(NSTimeInterval)duration;

    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;
  • 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;

    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;
  • Zooms the chart to the extents of the data in the X-Direction.

    Declaration

    Objective-C

    - (void)animateZoomExtentsXWithDuration:(NSTimeInterval)duration;

    Parameters

    duration

    The duration of animation when zooming to extents.