iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCIAxisGridLinesDrawable
@protocol ISCIAxisGridLinesDrawable <NSObject>
Defines interface with callback for rendering of grid lines for ISCIAxis implementations.
-
Draws axis grid lines in the center of the chart.
Declaration
Objective-C
- (void)onDrawWithContext:(nonnull id<ISCIRenderContext2D>)renderContext assetManager:(nonnull id<ISCIAssetManager2D>)assetManager drawingLayers:(nonnull SCIRenderOperationLayers *)drawingLayers;Swift
func onDraw(with renderContext: any ISCIRenderContext2D, assetManager: any ISCIAssetManager2D, drawing drawingLayers: SCIRenderOperationLayers)Parameters
renderContextISCIRenderContext2Dinstance to draw on.assetManagerISCIAssetManager2Dinstance which manages assets related to currentISCIRenderSurface.drawingLayersSpecifies different drawing layers for drawing of axis grid lines.
View on GitHub