SChartCanvasOverlay Class Reference

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

Overview

The canvas overlay is responsible for drawing objects that appear over the plot area - such as crosshairs. It’s a transparent layer that is rendered above the openGL layer.

Properties

chart

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

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

Declared In

SChartCanvasOverlay.h

Instance Methods

initWithFrame:usingChart:andCanvas:

Initialize a canvas-overlay

- (id)initWithFrame:(CGRect)frame usingChart:(ShinobiChart *)parentChart andCanvas:(SChartCanvas *)parentCanvas

Declared In

SChartCanvasOverlay.h