SChartCrosshairLineDrawer Protocol Reference

Conforms to NSObject
Declared in SChartCrosshairLineDrawer.h
Availability
Related samples

Instance Methods

drawEllipseForCrosshair:

Responsible for creating a UIBezierPath for the ellipses of the crosshair.

- (UIBezierPath *)drawEllipseForCrosshair:(CGPoint)trackedDataPointCenter

Parameters

trackedDataPointCenter

The center of the tracked data point.

Declared In

SChartCrosshairLineDrawer.h

drawLinesForCrosshair:series:trackedDataPointCenter:xAxis:yAxis:

Responsible for creating a UIBezierPath for the lines of the crosshair.

- (UIBezierPath *)drawLinesForCrosshair:(CGRect)plotAreaFrame series:(nullable SChartMappedSeries *)series trackedDataPointCenter:(CGPoint)trackedDataPointCenter xAxis:(SChartAxis *)xAxis yAxis:(SChartAxis *)yAxis

Parameters

plotAreaFrame

The frame of the plot area.

series

The series being tracked by the crosshair.

trackedDataPointCenter

The center of the tracked data point.

xAxis

The x-axis associated with the series.

yAxis

The y-axis associated with the series.

Declared In

SChartCrosshairLineDrawer.h