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
ISCIRenderableSeries
instance used by this helper to display latest series value.Declaration
Objective-C
@property (nonatomic, strong, readonly) id<ISCIRenderableSeries> _Nonnull renderableSeries;
Swift
var renderableSeries: ISCIRenderableSeries { get }
-
Creates new instance of
SCIDefaultSeriesValueMarkerAnnotationHelper
.Declaration
Objective-C
- (nonnull instancetype) initWithRenderableSeries:(nonnull id<ISCIRenderableSeries>)renderableSeries predicate: (nonnull SCIPredicate)isValidRenderableSeriesPredicate;
Swift
init(renderableSeries: ISCIRenderableSeries, predicate isValidRenderableSeriesPredicate: @escaping SCIPredicate)
Parameters
renderableSeries
The target renderable series.
isValidRenderableSeriesPredicate
The 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
annotation
The annotation to update.