TKChartBandAnnotation Class Reference
Inherits from | TKChartAnnotation : NSObject |
Declared in | TKChartBandAnnotation.h |
Tasks
-
– initWithRange:forAxis:
-
– initWithRange:forAxis:withFill:withStroke:
-
range
property -
axis
property -
style
property
Properties
axis
The axis to which this annotation belongs.
@property (nonatomic, strong) TKChartAxis *axis
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