iOS Charting Documentation - SciChart iOS Charts SDK v3.x

SCIAxisTickLabelStyle

@interface SCIAxisTickLabelStyle : NSObject

Defines a class with style for each tick label rendered by SCIAxisBase.

  • Creates a new instance of SCIAxisTickLabelStyle class.

    Declaration

    Objective-C

    - (instancetype)initWithAlignment:(SCIAlignment)alignment
                           andMargins:(UIEdgeInsets)margins;

    Swift

    init!(alignment: SCIAlignment, andMargins margins: UIEdgeInsets)

    Parameters

    margins

    The tick label margin.

  • Creates a new instance of SCIAxisTickLabelStyle class.

    Declaration

    Objective-C

    - (instancetype)initWithAlignment:(SCIAlignment)alignment
                              margins:(UIEdgeInsets)margins
                     andRotationAngle:(float)angle;

    Swift

    init!(alignment: SCIAlignment, margins: UIEdgeInsets, andRotationAngle angle: Float)

    Parameters

    margins

    The tick label margin.

    angle

    The tick label rotation angle.

  • Tick label alignment.

    Declaration

    Objective-C

    @property (nonatomic, readonly) SCIAlignment alignment;

    Swift

    var alignment: SCIAlignment { get }
  • Tick label margins.

    Declaration

    Objective-C

    @property (nonatomic, readonly) UIEdgeInsets margins;

    Swift

    var margins: UIEdgeInsets { get }
  • Tick label rotatioin angle in degrees.

    Declaration

    Objective-C

    @property (nonatomic, readonly) float rotationAngle;

    Swift

    var rotationAngle: Float { get }