SChartDiscontinuousNumberAxis Class Reference

Inherits from SChartNumberAxis : SChartAxis : NSObject
Declared in SChartDiscontinuousNumberAxis.h
Availability Premium
Related samples

Overview

  • An SChartDiscontinuousNumberAxis is a subclass of SChartNumberAxis,
  • designed to allow skipping over given ranges.

Warning: This type of axis is not currently supported radial charts.

Instance Methods

addSkip:

Add an SChartNumberSkip with a start and end, to the list of ranges to skip

- (void)addSkip:(SChartNumberSkip)skip

Parameters

skip

The SChartNumberSkip to add to the exclusions

Discussion

An SChartNumberSkip is defined as follows:

typedef struct { double start, end; } SChartNumberSkip;

You must reload the chart when adding new skips.

Declared In

SChartDiscontinuousNumberAxis.h

removeSkip:

Remove a previously added SChartNumberSkip from the list of ranges to skip.

- (void)removeSkip:(SChartNumberSkip)skip

Parameters

skip

The SChartNumberSkip to be removed from the exclusions

Discussion

You must reload the chart when removing skips.

Declared In

SChartDiscontinuousNumberAxis.h

skips

Returns an array of NSValues, each containing an SChartNumberSkip.

- (NSArray<NSValue *> *)skips

Discussion

Note that you should not call addSkip or removeSkip while iterating over this array.

Declared In

SChartDiscontinuousNumberAxis.h