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

SCIPieSegmentCollection

@interface SCIPieSegmentCollection
    : SCILockableObservableCollection < id <ISCIPieSegment>
> @end

Defines collection of ISCIPieSegment used by ISCIPieRenderableSeries.

  • Creates new instance of SCIPieSegmentCollection class.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithCollection:
        (nonnull NSArray<id<ISCIPieSegment>> *)collection;

    Swift

    init(collection: [ISCIPieSegment])

    Parameters

    collection

    The collection with items to add.