iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCIAxisGridLinesRenderer
@protocol
ISCIAxisGridLinesRenderer <ISCIAxisGridLinesDrawable, ISCIAxisRendererCore>
Specifies interface for renderer which is responsible for drawing of axis grid lines.
-
Performs layout of grid lines renderer in bounds specified by
viewportSize
.Declaration
Objective-C
- (void)onLayoutWithAssetManager:(nonnull id<ISCIAssetManager2D>)assetManager viewportSize:(CGSize)viewportSize;
Swift
func onLayout(with assetManager: ISCIAssetManager2D, viewportSize: CGSize)
Parameters
assetManager
ISCIAssetManager2D
instance which manages assets for currentISCIRenderSurface
instance.viewportSize
Viewport size in pixels where grid lines should be drawn.