Inherits from TKChartAnnotation : NSObject
Declared in TKChartBandAnnotation.h

Overview

A band annotation. The band specifies a horizontal or vertical range of specific axis.

Properties

axis

The axis to which this annotation belongs.

@property (nonatomic, strong) TKChartAxis *axis

Declared In

TKChartBandAnnotation.h

range

The range used when positioning the annotation.

@property (nonatomic, strong) TKRange *range

Declared In

TKChartBandAnnotation.h

style

The annotation style. It can be used to customize the annotation appearance.

@property (nonatomic, strong, readonly) TKChartBandAnnotationStyle *style

Declared In

TKChartBandAnnotation.h

Instance Methods

initWithRange:forAxis:

Initializes the annotation with a range.

- (instancetype __nonnull)initWithRange:(TKRange *__nonnull)aRange forAxis:(TKChartAxis *__nonnull)anAxis

Parameters

aRange

The range where to locate the annotation.

anAxis

The axis to which the value belongs.

Declared In

TKChartBandAnnotation.h

initWithRange:forAxis:withFill:withStroke:

Initializes the annotation with a value.

- (instancetype __nonnull)initWithRange:(TKRange *__nonnull)aRange forAxis:(TKChartAxis *__nonnull)anAxis withFill:(TKFill *__nullable)fill withStroke:(TKStroke *__nullable)stroke

Parameters

aRange

The range where to locate the annotation.

anAxis

The axis to which the value belongs.

fill

The fill to use when rendering the annotation.

stroke

The stroke to use when rendering the annotation.

Declared In

TKChartBandAnnotation.h