iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIChartModifierCollection
@interface SCIChartModifierCollection
: SCIChartModifierCollectionBase <id <ISCIChartModifier>>
Contains a collection of ISCIChartModifier
.
-
Initializes a new instance of
SCIChartModifierCollection
class.Declaration
Objective-C
- (nonnull instancetype)initWithCollection: (nonnull NSArray<id<ISCIChartModifier>> *)collection;
Swift
init(collection: [ISCIChartModifier])
Parameters
collection
The array with items to add.
-
Called when parent
SCIChartSurface
is resized.Declaration
Objective-C
- (void)onParentSurfaceResized:(nonnull SCIResizedMessage *)message;
Swift
func onParentSurfaceResized(_ message: SCIResizedMessage)
Parameters
message
The resized message.
-
Called when parent
ISCIChartSurface.renderSurface
is rendered.Declaration
Objective-C
- (void)onRenderSurfaceRendered:(nonnull SCIRenderedMessage *)message;
Swift
func onRenderSurfaceRendered(_ message: SCIRenderedMessage)
Parameters
message
The rendered message.
-
Called when parent
ISCIChartSurface.annotations
collection drastically changed.Declaration
Objective-C
- (void)onAnnotationsDrasticallyChanged;
Swift
func onAnnotationsDrasticallyChanged()
-
Called when parent
ISCIChartSurface.annotations
collection changes.Declaration
Objective-C
- (void)onAnnotationsCollectionChanged: (nonnull SCICollectionChangedEventArgs<id<ISCIAnnotation>> *)args;
Swift
func onAnnotationsCollectionChanged(_ args: SCICollectionChangedEventArgs<ISCIAnnotation>)
Parameters
args
The collection changed event args.