XuniChartTextAnnotation Class Reference

Inherits from XuniChartAnnotation : NSObject
Declared in ChartTextAnnotation.h

Overview

The text annotation class.

XuniChartTextAnnotation Class.

Other Methods

  text

Gets or sets the text of the annotation.

@property (nonatomic) NSString *text

Discussion

Gets or sets the text of the annotation.

Declared In

ChartTextAnnotation.h

  textColor

Gets or sets the text color of the annotation.

@property (nonatomic) UIColor *textColor

Discussion

Gets or sets the text color of the annotation.

Declared In

ChartTextAnnotation.h

  font

Gets or sets the font of the annotation.

@property (nonatomic) UIFont *font

Discussion

Gets or sets the font of the annotation.

Declared In

ChartTextAnnotation.h

– initWithChart:

Initialize an instance of class XuniChartTextAnnotation.

- (instancetype)initWithChart:(FlexChart *)chart

Parameters

chart

the FlexChart to init with.

Return Value

an instance of class XuniChartTextAnnotation.

Discussion

Initialize an instance of class XuniChartTextAnnotation.

Declared In

ChartTextAnnotation.h

Extension Methods

– renderText:rect:

Render the annotation text.

- (void)renderText:(XuniRenderEngine *)engine rect:(CGRect)rect

Parameters

engine

the render engine.

rect

the rectangle to draw string.

Discussion

Render the annotation text.

Declared In

ChartTextAnnotationPrivate.h