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

SCIAxisBorderStyle

@interface SCIAxisBorderStyle : NSObject

Defines a class with style for axis border rendered by SCIAxisBase.

  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithColor:(unsigned int)color thickness:(float)thickness;

    Swift

    init(color: UInt32, thickness: Float)
  • Undocumented

    Declaration

    Objective-C

    - (instancetype _Nullable )initWithColor:(unsigned int)color
                    antiAliasing:(BOOL)antiAliasing
                   topThickness:(float)top
                  leftThickness:(float)left
                bottomThickness:(float)bottom
                 rightThickness:(float)right;

    Swift

    init?(color: UInt32, antiAliasing: Bool, topThickness top: Float, leftThickness left: Float, bottomThickness bottom: Float, rightThickness right: Float)
  • The color of the border.

    Declaration

    Objective-C

    @property (nonatomic, readonly) int color;

    Swift

    var color: Int32 { get }
  • Indicates whether anti-aliasing is enabled for smoother rendering.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL antiAliasing;

    Swift

    var antiAliasing: Bool { get }
  • The thickness of the top edge of the border.

    Declaration

    Objective-C

    @property (nonatomic, readonly) float topThickness;

    Swift

    var topThickness: Float { get }
  • The thickness of the left edge of the border.

    Declaration

    Objective-C

    @property (nonatomic, readonly) float leftThickness;

    Swift

    var leftThickness: Float { get }
  • The thickness of the bottom edge of the border.

    Declaration

    Objective-C

    @property (nonatomic, readonly) float bottomThickness;

    Swift

    var bottomThickness: Float { get }
  • The thickness of the right edge of the border.

    Declaration

    Objective-C

    @property (nonatomic, readonly) float rightThickness;

    Swift

    var rightThickness: Float { get }
  • Checks if any side of the border is visible.

    Declaration

    Objective-C

    - (BOOL)isVisible;

    Swift

    func isVisible() -> Bool

    Return Value

    YES if at least one side has a thickness greater than zero; otherwise, NO.

  • Checks if the top side of the border is visible.

    Declaration

    Objective-C

    - (BOOL)isTopVisible;

    Swift

    func isTopVisible() -> Bool

    Return Value

    YES if topThickness > 0; otherwise, NO.

  • Checks if the left side of the border is visible.

    Declaration

    Objective-C

    - (BOOL)isLeftVisible;

    Swift

    func isLeftVisible() -> Bool

    Return Value

    YES if leftThickness > 0; otherwise, NO.

  • Checks if the bottom side of the border is visible.

    Declaration

    Objective-C

    - (BOOL)isBottomVisible;

    Swift

    func isBottomVisible() -> Bool

    Return Value

    YES if bottomThickness > 0; otherwise, NO.

  • Checks if the right side of the border is visible.

    Declaration

    Objective-C

    - (BOOL)isRightVisible;

    Swift

    func isRightVisible() -> Bool

    Return Value

    YES if rightThickness > 0; otherwise, NO.