SChartTickLabelRefreshRate Protocol Reference

Conforms to NSCopying
NSObject
Declared in SChartTickLabelRefreshRate.h
Availability
Related samples

Overview

Every time the chart is panned or zoomed, its tick labels are recalulated and refreshed. This can be a CPU intensive operation, particularly on older devices.

This class provides the ability to control the rate at which the labels are recalculated, which can improve the chart’s performance at the cost of your labels lagging slightly behind the plotted region.

Tasks

Instance Methods

reset

This method is called when: - Momentum panning or zooming stops on the axis - The axis label format changes

- (void)reset

Declared In

SChartTickLabelRefreshRate.h

shouldRecalculate

Decides whether or not the tick labels should be recalculated.

- (BOOL)shouldRecalculate

Return Value

Whether the tick labels should be recalculated.

Discussion

Default implementation is SChartTickLabelRefreshRateDeviceBased.

Declared In

SChartTickLabelRefreshRate.h