iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

SCIAxisTicks

@interface SCIAxisTicks : NSObject <ISCICleanable>

A class which contains axis ticks.

Note

Used internally when drawing tick marks and grid lines.
  • Gets the major ticks.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) SCIDoubleValues *majorTicks;

    Swift

    var majorTicks: SCIDoubleValues! { get }
  • Gets the minor ticks.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) SCIDoubleValues *minorTicks;

    Swift

    var minorTicks: SCIDoubleValues! { get }
  • Gets the major ticks culling priorities which are used during culling of axis tick labels.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) SCIIntegerValues *cullingPriorities;

    Swift

    var cullingPriorities: SCIIntegerValues! { get }
  • Gets or sets the value indicating whether the first tick in majorTicks is even. This value is used for drawing major axis bands

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        BOOL isFirstMajorTickEven;

    Swift

    var isFirstMajorTickEven: Bool { get set }

    Return Value

    YES - if first tick in in majorTicks is even.

  • Checks whether the current SCIAxisTicks instance is empty.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL isEmpty;

    Swift

    var isEmpty: Bool { get }