Inherits from TKChartBalloonAnnotation : TKChartPointAnnotation : TKChartAnnotation : NSObject
Declared in TKChartTrackballTooltipAnnotation.h

Overview

A balloon annotation used with a trackball.

Properties

pinPosition

The pin position for the tooltip.

@property (nonatomic, assign) TKChartTrackballPinPosition pinPosition

Discussion

The available pin positions are specified below:

typedef enum { TKChartTrackballPinPositionNone, // The tooltip will appear around the selected point. TKChartTrackballPinPositionLeft, // The tooltip will appear on the left side of the plot area. TKChartTrackballPinPositionRight, // The tooltip will appear on the right side of the plot area. TKChartTrackballPinPositionTop, // The tooltip will appear on the top side of the plot area. TKChartTrackballPinPositionBottom, // The tooltip will appear on the bottom side of the plot area. } TKChartTrackballPinPosition;

Declared In

TKChartTrackballTooltipAnnotation.h

Instance Methods

initWithTrackball:

Initializes the annotation with a trackball.

- (instancetype __nonnull)initWithTrackball:(TKChartTrackball *__nonnull)trackball

Parameters

trackball

The trackball which owns the annotation.

Declared In

TKChartTrackballTooltipAnnotation.h

updateContent

This method is called by the trackball when its visibility changes.

- (void)updateContent

Declared In

TKChartTrackballTooltipAnnotation.h