Inherits from TKChartPointAnnotation : TKChartAnnotation : NSObject
Declared in TKChartViewAnnotation.h

Overview

Represents an annotation that contains a view.

Properties

view

The annotation view.

@property (nonatomic, strong) UIView *view

Declared In

TKChartViewAnnotation.h

Instance Methods

initWithView:

Initializes the annotation with a view.

- (instancetype __nonnull)initWithView:(UIView *__nonnull)aView

Parameters

aView

The view to display with this annotation.

Declared In

TKChartViewAnnotation.h

initWithView:X:Y:forSeries:

Initializes the annotation with a view.

- (instancetype __nonnull)initWithView:(UIView *__nonnull)aView X:(id __nonnull)xValue Y:(id __nonnull)yValue forSeries:(TKChartSeries *__nonnull)series

Parameters

aView

The view to display with this annotation.

xValue

The X coordinate of the annotation.

yValue

The Y coordinate of the annotation.

series

The TKChartSeries instance to use with these coordinates.

Declared In

TKChartViewAnnotation.h

initWithView:X:Y:forXAxis:forYAxis:

Initializes the annotation with a view.

- (instancetype __nonnull)initWithView:(UIView *__nonnull)aView X:(id __nonnull)xValue Y:(id __nonnull)yValue forXAxis:(TKChartAxis *__nonnull)xAxis forYAxis:(TKChartAxis *__nonnull)yAxis

Parameters

aView

The view to display with this annotation.

xValue

The X coordinate of the annotation.

yValue

The Y coordinate of the annotation.

xAxis

The X TKChartAxis instance to use with the X coordinate.

yAxis

The Y TKChartAxis instance to use with the Y coordinate.

Declared In

TKChartViewAnnotation.h

initWithView:point:forSeries:

Initializes the annotation with a view.

- (instancetype __nonnull)initWithView:(UIView *__nonnull)aView point:(id<TKChartData> __nonnull)point forSeries:(TKChartSeries *__nonnull)series

Parameters

aView

The view to display with this annotation.

point

The location of the annotation.

series

The TKChartSeries instance to use with these coordinates.

Declared In

TKChartViewAnnotation.h

initWithView:point:forXAxis:forYAxis:

Initializes the annotation with a view.

- (instancetype __nonnull)initWithView:(UIView *__nonnull)aView point:(id<TKChartData> __nonnull)point forXAxis:(TKChartAxis *__nonnull)xAxis forYAxis:(TKChartAxis *__nonnull)yAxis

Parameters

aView

The view to display with this annotation.

point

The location of the annotation.

xAxis

The X TKChartAxis instance to use with the X coordinate.

yAxis

The Y TKChartAxis instance to use with the Y coordinate.

Declared In

TKChartViewAnnotation.h