iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIDefaultSeriesValueMarkerAnnotationHelper
@interface SCIDefaultSeriesValueMarkerAnnotationHelper<
TAnnotation : SCIAnnotationBase *> : NSObject
Defines default series value marker annotation helper implementation.
-
The
ISCIRenderableSeriesinstance used by this helper to display latest series value.Declaration
Objective-C
@property (nonatomic, strong, readonly) id<ISCIRenderableSeries> _Nonnull renderableSeries;Swift
var renderableSeries: any ISCIRenderableSeries { get } -
Creates new instance of
SCIDefaultSeriesValueMarkerAnnotationHelper.Declaration
Objective-C
- (nonnull instancetype) initWithRenderableSeries:(nonnull id<ISCIRenderableSeries>)renderableSeries predicate: (nonnull SCIPredicate)isValidRenderableSeriesPredicate;Swift
init(renderableSeries: any ISCIRenderableSeries, predicate isValidRenderableSeriesPredicate: @escaping SCIPredicate)Parameters
renderableSeriesThe target renderable series.
isValidRenderableSeriesPredicateThe predicate whether Renderable Series is valid for
SCISeriesValueMarkerAnnotation. -
Try to update specified annotation using information from
ISCIRenderableSeries.Declaration
Objective-C
- (void)tryUpdateAnnotation:(nonnull TAnnotation)annotation;Swift
func tryUpdateAnnotation(_ annotation: TAnnotation)Parameters
annotationThe annotation to update.
View on GitHub