iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCIAxisTitleRenderer
@protocol ISCIAxisTitleRenderer <ISCIDrawable, ISCIAxisRendererCore,
ISCIAxisLayoutChangeListener>
Specifies interface for renderer which is responsible for drawing of axis title.
-
Gets desired size for currently attached axis.
Declaration
Objective-C
@property (nonatomic, readonly) 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:(nonnull id<ISCIAssetManager2D>)assetManager bounds:(CGRect)bounds;Swift
func onLayout(_ assetManager: any ISCIAssetManager2D, bounds: CGRect)Parameters
assetManagerISCIAssetManager2Dinstance which manages assets for currentISCIRenderSurfaceinstance.boundsBounds in pixels where axis should be drawn.
View on GitHub