iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCICompositeAnnotation
@interface SCICompositeAnnotation : SCIBoxAnnotation
Defines a Composite annotation, which may be used to place group of annotation on the parent ISCIChartSurface.
-
Gets the collection of child
ISCIAnnotationthat thisSCICompositeAnnotationdraws.Declaration
Objective-C
@property (nonatomic, strong) SCIAnnotationCollection *_Nonnull annotations;Swift
var annotations: SCIAnnotationCollection { get set } -
Add a child annotation.
Declaration
Objective-C
- (void)addAnnotation:(nonnull SCIAnnotationBase *)annotation;Swift
func addAnnotation(_ annotation: SCIAnnotationBase)Parameters
annotationthe annotation.
-
Removes a child annotation.
Declaration
Objective-C
- (void)removeAnnotation:(nonnull SCIAnnotationBase *)annotation;Swift
func removeAnnotation(_ annotation: SCIAnnotationBase)Parameters
annotationthe annotation.
View on GitHub