SChartCanvasUnderlay Class Reference

Inherits from UIView
Conforms to SChartLayer
Declared in SChartCanvasUnderlay.h
Availability
Related samples

Overview

The canvas underlay is responsible for drawing things like gridlines and the axes. It’s a transparent layer that is currently rendered below the openGL layer.

Tasks

Initializing the underlay

Properties

chart

The chart owner - available to let us access the chart objects when we need

@property (nullable, nonatomic, assign) ShinobiChart *chart

Declared In

SChartCanvasUnderlay.h

Instance Methods

initWithFrame:usingChart:

Create our drawing layer

- (id)initWithFrame:(CGRect)frame usingChart:(ShinobiChart *)chart

Declared In

SChartCanvasUnderlay.h