iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

SCIAnnotationCollection

@interface SCIAnnotationCollection
    : SCIAttachableObservableCollection < id <ISCIAnnotation>
> @end

Contains a collection of ISCIAnnotation.

  • Tries to select annotation from this collection.

    Declaration

    Objective-C

    - (BOOL)trySelectAnnotation:(nonnull id<ISCIAnnotation>)annotation;

    Swift

    func trySelect(_ annotation: ISCIAnnotation) -> Bool

    Parameters

    annotation

    The annotation to select.

    Return Value

    True if annotation has been selected.

  • Deselects all annotations in this collection.

    Declaration

    Objective-C

    - (void)deselectAll;

    Swift

    func deselectAll()