iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIPieChartModifierCollection
@interface SCIPieChartModifierCollection
: SCIChartModifierCollectionBase <id <ISCIPieChartModifier>>
Contains a collection of ISCIPieChartModifier.
-
Initializes a new instance of
SCIPieChartModifierCollectionclass.Declaration
Objective-C
- (nonnull instancetype)initWithCollection: (nonnull NSArray<id<ISCIPieChartModifier>> *)collection;Swift
init(collection: [any ISCIPieChartModifier])Parameters
collectionThe array with items to add.
-
Called when parent
ISCIChartSurface.renderSurfaceis rendered.Declaration
Objective-C
- (void)onPieRenderSurfaceRendered: (nonnull SCIPieChartRenderedMessage *)message;Swift
func onPieRenderSurfaceRendered(_ message: SCIPieChartRenderedMessage)Parameters
messageThe rendered message.
-
Called when segments collection drastically changed.
Declaration
Objective-C
- (void)onSegmentCollectionDrasticallyChanged;Swift
func onSegmentCollectionDrasticallyChanged() -
Called when segments collection changes.
Declaration
Objective-C
- (void)onSegmentsCollectionChanged: (nonnull SCICollectionChangedEventArgs<id<ISCIPieSegment>> *)args;Swift
func onSegmentsCollectionChanged(_ args: SCICollectionChangedEventArgs<any ISCIPieSegment>)Parameters
argsThe collection changed event args.
-
Called when selected segments collection changes.
Declaration
Objective-C
- (void)onSelectedSegmentsCollectionChanged: (nonnull SCICollectionChangedEventArgs<id<ISCIPieSegment>> *)args;Swift
func onSelectedSegmentsCollectionChanged(_ args: SCICollectionChangedEventArgs<any ISCIPieSegment>)Parameters
argsThe collection changed event args.
View on GitHub