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

ISCIAxisBorderRenderer

@protocol ISCIAxisBorderRenderer <ISCIDrawable, ISCIAxisRendererCore,
                                  ISCIAxisLayoutChangeListener>

Specifies interface for renderer which is responsible for drawing of axis border.

  • 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 }
  • Measure required size for currently attached axis.

    Declaration

    Objective-C

    - (void)measure;

    Swift

    func measure()
  • Performs layout of axis renderer in specified bounds.

    Declaration

    Objective-C

    - (void)onLayout:(nonnull id<ISCIAssetManager2D>)assetManager
              bounds:(CGRect)bounds;

    Swift

    func onLayout(_ assetManager: any ISCIAssetManager2D, bounds: CGRect)

    Parameters

    assetManager

    ISCIAssetManager2D instance which manages assets for current ISCIRenderSurface instance.

    bounds

    Bounds in pixels where axis should be drawn.