Inherits from TKChartRender : CALayer
Declared in TKChartAxisRender.h

Overview

The rendering layer for TKChartAxis

Properties

axis

The associated axis of the render.

@property (nonatomic, weak, readonly) TKChartAxis *axis

Declared In

TKChartAxisRender.h

isVertical

Determines if the axis is vertical or horizontal.

@property (nonatomic, readonly) BOOL isVertical

Declared In

TKChartAxisRender.h

Instance Methods

boundsRect

Returns the bound of the associated axis.

- (CGRect)boundsRect

Declared In

TKChartAxisRender.h

initWithAxis:chart:

Initializes the associated axis view.

- (instancetype)initWithAxis:(TKChartAxis *)axis chart:(TKChart *)chart

Parameters

axis

The axis that will be associated with this render.

chart

The chart where this axis render resides.

Declared In

TKChartAxisRender.h

sizeThatFits:

Returns the axis width and height.

- (CGSize)sizeThatFits:(CGSize)size

Parameters

size

The size available for the axis.

Declared In

TKChartAxisRender.h