Inherits from TKChartAnnotation : NSObject
Declared in TKChartGridLineAnnotation.h

Overview

A vertical or horizontal line annotation.

Properties

axis

The axis to which this annotation belongs.

@property (nonatomic, strong) TKChartAxis *axis

Declared In

TKChartGridLineAnnotation.h

style

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

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

Declared In

TKChartGridLineAnnotation.h

value

The value used when positioning the annotation.

@property (nonatomic, strong) id __nonnull value

Declared In

TKChartGridLineAnnotation.h

Instance Methods

initWithValue:forAxis:

Initializes the annotation with a value.

- (instancetype __nonnull)initWithValue:(id __nonnull)value forAxis:(TKChartAxis *__nonnull)axis

Parameters

value

The place to locate the annotation.

axis

The axis to which the value belongs.

Declared In

TKChartGridLineAnnotation.h

initWithValue:forAxis:withStroke:

Initializes the annotation with a value and stroke.

- (instancetype __nonnull)initWithValue:(id __nonnull)value forAxis:(TKChartAxis *__nonnull)axis withStroke:(TKStroke *__nonnull)stroke

Parameters

value

The place to locate the annotation.

axis

The axis to which the value belongs.

stroke

The stroke to use when rendering the annotation.

Declared In

TKChartGridLineAnnotation.h