
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCIAxisLayoutManager
@protocol ISCIAxisLayoutManager <ISCIAttachable, ISCIAxisLayoutChangeListener>
Defines interface for axis layout manager which is responsible for measure and layout of axis and its renderers on screen.
-
Measures desired size for axis and its renderers for further layout calculations.
Declaration
Objective-C
- (void)measureWithAxisRenderer:(nonnull id<ISCIAxisRenderer>)axisRenderer axisTitleRenderer: (nonnull id<ISCIAxisTitleRenderer>)axisTitleRenderer andAxisLayoutState:(nonnull SCIAxisLayoutState *)axisLayoutState;
Parameters
axisRenderer
Current axis renderer.
axisTitleRenderer
Current title renderer.
axisLayoutState
Axis layout state which stores current state of axis layout.
-
Performs layout of axis and its renderers on screen.
Declaration
Objective-C
- (void)onLayoutWithAssetManager:(nonnull id<ISCIAssetManager2D>)assetManager axisRenderer:(nonnull id<ISCIAxisRenderer>)axisRenderer axisTitleRenderer: (nonnull id<ISCIAxisTitleRenderer>)axisTitleRenderer;
Parameters
assetManager
ISCIAssetManager2D
instance which manages assets for currentISCIRenderSurface
instance.axisRenderer
Current axis renderer.
axisTitleRenderer
Current axis ttile renderer.