iOS Charting Documentation - SciChart iOS Charts SDK v3.x

ISCIAxisRenderer

Specifies interface for renderer which is responsible for rendering of ISCIAxis implementations.

  • Gets desired size for currently attached axis.

    Declaration

    Objective-C

    @property (readonly, nonatomic) CGSize desiredSize;

    Swift

    var desiredSize: CGSize { 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:(id<ISCIAssetManager2D>)assetManager bounds:(CGRect)bounds;

    Swift

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

    Parameters

    assetManager

    ISCIAssetManager2D instance which manages assets for current ISCIRenderSurface instance.

    bounds

    Bounds in pixels where axis should be drawn.