XuniChartShapeAnnotation Class Reference

Inherits from XuniChartTextAnnotation : XuniChartAnnotation : NSObject
Declared in ChartShapeAnnotation.h

Overview

The shape annotation class.

  color

Gets or sets the fill color for the annotation.

@property (nonatomic) UIColor *color

Discussion

Gets or sets the fill color for the annotation.

Declared In

ChartShapeAnnotation.h

  borderColor

Gets or sets the border color for the annotation.

@property (nonatomic) UIColor *borderColor

Discussion

Gets or sets the border color for the annotation.

Declared In

ChartShapeAnnotation.h

  borderWidth

​Gets or sets the border width for the annotation.

@property (nonatomic) double borderWidth

Discussion

​Gets or sets the border width for the annotation.

Declared In

ChartShapeAnnotation.h

– initWithChart:

Initialize an instance of class XuniChartShapeAnnotation.

- (instancetype)initWithChart:(FlexChart *)chart

Parameters

chart

the FlexChart to init with.

Return Value

an instance of class XuniChartShapeAnnotation.

Discussion

Initialize an instance of class XuniChartShapeAnnotation.

Declared In

ChartShapeAnnotation.h

– getChart

Get the chart.

- (FlexChart *)getChart

Return Value

The chart.

Discussion

Get the chart.

Declared In

ChartShapeAnnotation.h