@protocol SChartTickLabelRefreshRate <NSObject, NSCopying>
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.
Decides whether or not the tick labels should be recalculated.
Default implementation is
func shouldRecalculate() -> Bool
Whether the tick labels should be recalculated.
This method is called when:
- Momentum panning or zooming stops on the axis
- The axis label format changes